60 lines
No EOL
1.1 KiB
C++
60 lines
No EOL
1.1 KiB
C++
#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;
|
|
} |