[Add] MouseCursor, Mission 마우스 커서 비슷하게 변경 및 이미지 띄우기

This commit is contained in:
fbtk
2025-11-07 22:01:52 +09:00
parent 2e797da356
commit 9e61d2f159
102 changed files with 925 additions and 14 deletions
@@ -0,0 +1,57 @@
#include "pch.h"
#include "UIComponent.h"
CUIComponent ::CUIComponent(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CComponent{ pDevice, pContext }
{
}
CUIComponent::CUIComponent(const CUIComponent& rhs)
: CComponent(rhs)
{
}
HRESULT CUIComponent::Initialize_Prototype()
{
return S_OK;
}
HRESULT CUIComponent::Initialize(void* pArg)
{
return S_OK;
}
CUIComponent* CUIComponent::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CUIComponent* pInstance = new CUIComponent(pDevice, pContext);
if (FAILED(pInstance->Initialize_Prototype()))
{
MSG_BOX("Failed to Created : CUIComponent");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
CComponent* CUIComponent::Clone(void* pArg, class CGameObject* pOwner)
{
CUIComponent* pInstance = new CUIComponent(*this);
pInstance->m_pOwner = pOwner;
if (FAILED(pInstance->Initialize(pArg)))
{
MSG_BOX("Failed to Cloned : CUIComponent");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
void CUIComponent::Free()
{
__super::Free();
}
void CUIComponent::Describe_Entity()
{
}