DragonNest/GameCommon/DnPropStateNormal.cpp
2024-12-20 16:56:44 +08:00

60 lines
No EOL
2.3 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "StdAfx.h"
#include "DnPropStateNormal.h"
#include "DnWorldActProp.h"
#ifdef _DEBUG
#define new new(_NORMAL_BLOCK,__FILE__,__LINE__)
#endif
CDnPropStateNormal::CDnPropStateNormal( DnPropHandle hEntity ) : CDnPropState(hEntity)
{
m_iType = NORMAL;
}
CDnPropStateNormal::~CDnPropStateNormal(void)
{
}
bool CDnPropStateNormal::OnEntry( LOCAL_TIME LocalTime, float fDelta )
{
CDnPropState::OnEntry( LocalTime, fDelta );
#ifdef _DEBUG
OutputDebug( "[Prop(%d) FSM Log] CDnPropStateNormal::OnEntry\n", m_hEntity->GetUniqueID() );
#endif
bool bResult = true;
// TODO: 초기화 코드...
return bResult;
}
bool CDnPropStateNormal::OnProcess( LOCAL_TIME LocalTime, float fDelta )
{
CDnPropState::OnProcess( LocalTime, fDelta );
bool bResult = true;
// 일단 아무것도 하지 않음..
return bResult;
}
bool CDnPropStateNormal::OnLeave( LOCAL_TIME LocalTime, float fDelta )
{
CDnPropState::OnLeave( LocalTime, fDelta );
#ifdef ENABLE_PROP_STATE_LOG
OutputDebug( "[Prop(%d) FSM Log] CDnPropStateNormal::OnLeave\n", m_hEntity->GetUniqueID() );
#endif
bool bResult = true;
return bResult;
}