Adding basic coin support
This commit is contained in:
+3
-11
@@ -205,21 +205,10 @@ bool Actor::IsFirstUpdate()
|
||||
return m_bFirstUpdate;
|
||||
}
|
||||
|
||||
void Actor::FirstUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Actor::Update( float fDeltaTime )
|
||||
{
|
||||
// LOG->Trace( "Actor::Update( %f )", fDeltaTime );
|
||||
|
||||
if( m_bFirstUpdate )
|
||||
{
|
||||
this->FirstUpdate();
|
||||
m_bFirstUpdate = false;
|
||||
}
|
||||
|
||||
// update effect
|
||||
switch( m_Effect )
|
||||
{
|
||||
@@ -269,6 +258,9 @@ void Actor::Update( float fDeltaTime )
|
||||
}
|
||||
|
||||
UpdateTweening( fDeltaTime );
|
||||
|
||||
if( m_bFirstUpdate )
|
||||
m_bFirstUpdate = false;
|
||||
}
|
||||
|
||||
void Actor::BeginTweening( float time, TweenType tt )
|
||||
|
||||
Reference in New Issue
Block a user