[Add] 고블린 암살자 무기 추가
This commit is contained in:
@@ -53,7 +53,7 @@ class CGoblin_Assassin final : public CMonster
|
||||
class CEffectParts* m_pSmoke = { nullptr };
|
||||
class CEffectParts* m_pGoblin_Particle = { nullptr };
|
||||
class CEffectParts* m_pGoblin_Particle2 = { nullptr };
|
||||
class CGoblin_Spector* m_pGoblinSpector = { nullptr };
|
||||
class CGoblin_Assassin_Spector* m_pGoblinSpector = { nullptr };
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "Monster.h"
|
||||
#include "CallBack_Monster_Behavior.h"
|
||||
#include "CallBack_Monster_HitReport.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
class CTransform;
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CGoblin_Assassin_Spector final : public CMonster
|
||||
{
|
||||
public:
|
||||
typedef struct tagSpector
|
||||
{
|
||||
CTransform* pParentTransform = { nullptr };
|
||||
}GOBLIN_SPECTOR_DESC;
|
||||
private:
|
||||
CGoblin_Assassin_Spector(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CGoblin_Assassin_Spector(const CGoblin_Assassin_Spector& Prototype);
|
||||
virtual ~CGoblin_Assassin_Spector() = default;
|
||||
|
||||
public:
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
|
||||
public:
|
||||
void Spector_Trail_Visible(_bool isTrailVisible);
|
||||
void Set_Disolve(_bool bDisolve) { m_bDisolve = bDisolve; }
|
||||
|
||||
|
||||
private:
|
||||
class CGoblin_Assassin* m_pGoblin = { nullptr };
|
||||
CTransform* m_pParentTransformCom = { nullptr };
|
||||
_uint iIndex;
|
||||
_float3 m_Offset = {};
|
||||
_float3 m_vOriginScale = {};
|
||||
_float3 m_vScale = { 1.f, 1.f, 1.f };
|
||||
|
||||
|
||||
class CTrailObject* m_pLeft_Trail = { nullptr };
|
||||
class CTrailObject* m_pRight_Trail = { nullptr };
|
||||
|
||||
const _float4x4* m_pLeftHand_BoneMat = { nullptr };
|
||||
const _float4x4* m_pRightHand_BoneMat = { nullptr };
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
HRESULT Ready_Components();
|
||||
HRESULT Ready_Parts();
|
||||
HRESULT Bind_ShaderResources();
|
||||
|
||||
public:
|
||||
static CGoblin_Assassin_Spector* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
virtual void Describe_Entity() override;
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
_bool m_bStep = { false };
|
||||
_float m_fTpTime = {};
|
||||
_float m_fAirTime = {};
|
||||
_vector m_vOriginPos = {};
|
||||
_float m_fLength = {};
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -34,6 +34,7 @@ class CGoblin_Attack final : public CEffect_Container
|
||||
_wstring m_wstrEffectName = {};
|
||||
class CEffectParts* m_pPT1 = { nullptr };
|
||||
class CEffectParts* m_pPT2 = { nullptr };
|
||||
_float4x4 m_vMat = {};
|
||||
public:
|
||||
static CGoblin_Attack* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
|
||||
@@ -24,7 +24,7 @@ class CGoblin_BattleAxe final : public CPartObject
|
||||
virtual HRESULT Render() override;
|
||||
HRESULT Render_Disolve();
|
||||
void Set_Disolve(_bool bDisolve) { m_bDisolve = bDisolve; }
|
||||
const _float4x4 Get_AxeMatrix() { return m_vAxeMat; };
|
||||
const _float4x4& Get_AxeMatrix() { return m_vAxeMat; };
|
||||
|
||||
private:
|
||||
const _float4x4* m_pSocketMatrices = { };
|
||||
|
||||
@@ -11,6 +11,7 @@ class CGoblin_Sword final : public CPartObject
|
||||
typedef struct tagSword : public CPartObject::PARTOBJECT_DESC
|
||||
{
|
||||
const _float4x4* pSocketMatrices = { };
|
||||
_int iIndex = {};
|
||||
}GOBLIN_SWORD_DESC;
|
||||
private:
|
||||
CGoblin_Sword(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
@@ -24,14 +25,25 @@ class CGoblin_Sword final : public CPartObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
HRESULT Render_Disolve();
|
||||
void Set_Disolve(_bool bDisolve) { m_bDisolve = bDisolve; }
|
||||
void Set_CanTakeDamage(_bool bCanTake) { m_bCanTakeDamage = bCanTake; }
|
||||
const _float4x4& Get_SwordMatrix() { return m_vSwordMat; };
|
||||
public:
|
||||
|
||||
private:
|
||||
const _float4x4* m_pSocketMatrices = { };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
const _float4x4* m_pSocketMatrices = { };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
_int m_iIndex = {};
|
||||
_wstring m_strModelPrototypeTag;
|
||||
_bool m_bCanTakeDamage = { false };
|
||||
_bool m_bHit = { false };
|
||||
_bool m_bDisolve = { false };
|
||||
_float m_fDisolveTime = { 0.f };
|
||||
_float4x4 m_vSwordMat = {};
|
||||
|
||||
_float4 m_vStartPos = {};
|
||||
_float4 m_vStartPos = {};
|
||||
PSX::PxSweepBufferN<12> m_SweepBuffer = {};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user