add SetCurrentStyle

This commit is contained in:
Glenn Maynard
2006-09-30 22:15:22 +00:00
parent a8dd0c5fdc
commit fcffe3c80f
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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
{
+1
View File
@@ -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;