pass around a PlayerState and PlayerStageStats instead of PlayerNumber and looking things up in GameState
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
#include "global.h"
|
||||
#include "ScoreDisplay.h"
|
||||
|
||||
void ScoreDisplay::Init( const PlayerState* pPlayerState, const PlayerStageStats* pPlayerStageStats )
|
||||
{
|
||||
m_pPlayerState = pPlayerState;
|
||||
m_pPlayerStageStats = pPlayerStageStats;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user