pass around a PlayerState and PlayerStageStats instead of PlayerNumber and looking things up in GameState
This commit is contained in:
@@ -32,9 +32,9 @@ ScoreDisplayBattle::ScoreDisplayBattle()
|
||||
m_TexturePreload.Load( asIconPaths[j] );
|
||||
}
|
||||
|
||||
void ScoreDisplayBattle::Init( const PlayerState* pPlayerState )
|
||||
void ScoreDisplayBattle::Init( const PlayerState* pPlayerState, const PlayerStageStats* pPlayerStageStats )
|
||||
{
|
||||
ScoreDisplay::Init( pPlayerState );
|
||||
ScoreDisplay::Init( pPlayerState, pPlayerStageStats );
|
||||
}
|
||||
|
||||
void ScoreDisplayBattle::Update( float fDelta )
|
||||
|
||||
Reference in New Issue
Block a user