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