[add] FSM

This commit is contained in:
kimnuri
2025-11-23 10:17:19 +09:00
parent 4af93e7abb
commit 232a929818
11 changed files with 242 additions and 195 deletions
+5 -2
View File
@@ -112,11 +112,14 @@ _bool CUnit::IsCurrentKeyFrame(_string FrameName)
HRESULT CUnit::Ready_Components(void *pArg)
{
__super::Ready_Components(pArg);
if (FAILED(__super::Ready_Components(pArg))) {
return E_FAIL;
}
/* Com_FSM */
if (FAILED(Add_Component<CFSM>(g_iStaticLevel, &m_pFSM)))
if (FAILED(Add_Component<CFSM>(g_iStaticLevel, &m_pFSM))){
return E_FAIL;
}
return S_OK;
}