Esempio n. 1
0
 void PauseGameState_GameStateChanged( object sender, GameState.GameStateEventArgs args )
 {
     m_insteadTex = (Texture2D)args.Param;
     m_texPackaging.Initialize( m_insteadTex );
 }
Esempio n. 2
0
 void GamOverState_GameStateChanged( object sender, GameState.GameStateEventArgs args )
 {
     if( !m_loaded )return;
     m_insteadTex = (Texture2D)args.Param;
     m_texPackaging.Initialize( m_insteadTex );
 }
Esempio n. 3
0
 public void Update(GameTime gameTime)
 {
     m_drawingState = m_nowState;
     m_nowState.Update( gameTime );
     DataReader.SyncCallback();
 }
Esempio n. 4
0
 internal void GotoState(States value, object param)
 {
     m_runningState = value;
     m_nowState = m_collection[value];
     m_nowState.SetEventParam( param );
 }
Esempio n. 5
0
 void MainMenuGameState_GameStateChanged( object sender, GameState.GameStateEventArgs args )
 {
     m_curChildState = ChildState.BeginState;
 }