Param table.
This commit is contained in:
@@ -40,11 +40,11 @@ void ScoreDisplayAliveTime::Update( float fDelta )
|
||||
BitmapText::Update( fDelta );
|
||||
}
|
||||
|
||||
void ScoreDisplayAliveTime::PlayCommand( const RString &sCommandName )
|
||||
void ScoreDisplayAliveTime::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable )
|
||||
{
|
||||
// TODO: Add handling of GoalComplete message
|
||||
|
||||
BitmapText::PlayCommand( sCommandName );
|
||||
BitmapText::PlayCommand( sCommandName, pParamTable );
|
||||
}
|
||||
|
||||
void ScoreDisplayAliveTime::UpdateNumber()
|
||||
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
void LoadFromNode( const XNode* pNode );
|
||||
virtual ScoreDisplayAliveTime *Copy() const;
|
||||
|
||||
void PlayCommand( const RString &sCommandName );
|
||||
void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable );
|
||||
|
||||
void UpdateNumber();
|
||||
|
||||
|
||||
@@ -49,14 +49,14 @@ void ScoreDisplayCalories::Update( float fDelta )
|
||||
RollingNumbers::Update( fDelta );
|
||||
}
|
||||
|
||||
void ScoreDisplayCalories::PlayCommand( const RString &sCommandName )
|
||||
void ScoreDisplayCalories::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable )
|
||||
{
|
||||
if( sCommandName == m_sMessageOnStep )
|
||||
{
|
||||
UpdateNumber();
|
||||
}
|
||||
|
||||
RollingNumbers::PlayCommand( sCommandName );
|
||||
RollingNumbers::PlayCommand( sCommandName, pParamTable );
|
||||
}
|
||||
|
||||
void ScoreDisplayCalories::UpdateNumber()
|
||||
|
||||
@@ -18,7 +18,7 @@ public:
|
||||
void LoadFromNode( const XNode* pNode );
|
||||
virtual ScoreDisplayCalories *Copy() const;
|
||||
|
||||
void PlayCommand( const RString &sCommandName );
|
||||
void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable = NULL );
|
||||
|
||||
void UpdateNumber();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user