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