This commit is contained in:
parent
c501e386a0
commit
51249170a7
4 changed files with 55 additions and 33 deletions
|
@ -17,6 +17,14 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcFishHookPlatform::postInit()
|
||||
{
|
||||
m_isMoving = false;
|
||||
m_isShuttingDown = false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcFishHookPlatform::processLifetime( int _frames )
|
||||
{
|
||||
if ( m_contact )
|
||||
|
@ -27,6 +35,13 @@ void CNpcFishHookPlatform::processLifetime( int _frames )
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcFishHookPlatform::setToShutdown()
|
||||
{
|
||||
m_isShuttingDown = true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcFishHookPlatform::processMovement( int _frames )
|
||||
{
|
||||
if ( m_isMoving )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue