add SetCurrentStyle
This commit is contained in:
@@ -850,6 +850,10 @@ const Style* GameState::GetCurrentStyle() const
|
||||
return m_pCurStyle;
|
||||
}
|
||||
|
||||
void GameState::SetCurrentStyle( const Style *pStyle )
|
||||
{
|
||||
m_pCurStyle.Set( pStyle );
|
||||
}
|
||||
|
||||
bool GameState::IsPlayerEnabled( PlayerNumber pn ) const
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ public:
|
||||
|
||||
const Game* GetCurrentGame();
|
||||
const Style* GetCurrentStyle() const;
|
||||
void SetCurrentStyle( const Style *pStyle );
|
||||
|
||||
void GetPlayerInfo( PlayerNumber pn, bool& bIsEnabledOut, bool& bIsHumanOut );
|
||||
bool IsPlayerEnabled( PlayerNumber pn ) const;
|
||||
|
||||
Reference in New Issue
Block a user