Init -> BeginScreen

This commit is contained in:
Glenn Maynard
2007-05-03 05:39:50 +00:00
parent 35a0e18c2f
commit 3e6c2b3d7f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -24,13 +24,13 @@ ScreenAttract::ScreenAttract( bool bResetGameState )
}
void ScreenAttract::Init()
void ScreenAttract::BeginScreen()
{
ScreenAttract::SetAttractVolume( !GAMESTATE->IsTimeToPlayAttractSounds() );
GAMESTATE->VisitAttractScreen( m_sName );
ScreenWithMenuElements::Init();
ScreenWithMenuElements::BeginScreen();
}
void ScreenAttract::Input( const InputEventPlus &input )
+1 -1
View File
@@ -11,7 +11,7 @@ class ScreenAttract : public ScreenWithMenuElements
{
public:
ScreenAttract( bool bResetGameState=true );
virtual void Init();
virtual void BeginScreen();
static void AttractInput( const InputEventPlus &input, ScreenWithMenuElements *pScreen );
static void GoToStartScreen( RString sScreenName );