Exemplo n.º 1
0
void CPlayer::OnTimerSave( CTimer* p,float fTimeElaps )
{
    for ( int i = ePlayerComponent_None; i < ePlayerComponent_Max ; ++i )
    {
        IPlayerComponent* p = m_vAllComponents[i] ;
        if ( p )
        {
            p->TimerSave();
        }
    }
}
Exemplo n.º 2
0
void CPlayer::OnTimerSave(float fTimeElaps,unsigned int nTimerID )
{
	for ( int i = ePlayerComponent_None; i < ePlayerComponent_Max ; ++i )
	{
		IPlayerComponent* p = m_vAllComponents[i] ;
		if ( p )
		{
			p->TimerSave();
		}
	}
}