示例#1
0
//-----------------------------------------------------------------------------
//
// VActorPhysicsController::update( pDelta, pMove );
//
// ...
//
//-----------------------------------------------------------------------------
void VActorPhysicsController::update( const F32 &pDelta, const Move *pMove )
{
    // Valid Objects?
    if ( !isValidObject() )
    {
        // No, Quit Now.
        return;
    }

    // Pre-tick Update.
    preTickUpdate( pDelta );

    // Integrate Tick Update.
    integrateTickUpdate( pDelta, pMove );

    // Post-tick Update.
    postTickUpdate( pDelta );
}
示例#2
0
void GameTime::updateWithTick()
{
	preTickUpdate();
	timer->tick();
	postTickUpdate();
}
示例#3
0
void GameTime::updateWithoutTick()
{
	preTickUpdate();
	postTickUpdate();
}