add hibernate (don't draw or update) to Actor

This commit is contained in:
Chris Danford
2004-02-02 01:10:56 +00:00
parent 0bff292827
commit 5b791f603b
5 changed files with 30 additions and 6 deletions
+3
View File
@@ -55,6 +55,9 @@ void ActorScroller::Update( float fDeltaTime )
{
ActorFrame::Update( fDeltaTime );
if( m_fHibernateSecondsLeft > 0 )
return; // early abort
fapproach( m_fCurrentItem, m_fDestinationItem, fDeltaTime/m_fSecondsPerItem );
}