示例#1
0
 public override GameState PerformStateChange()
 {
     GameState State = this;
     switch (RequestedState) {
         case GameStateID.TrackSelect:
             State = new TrackSelectState(Host, Host.Tracks, Host.sysFont);
             break;
     }
     return State;
 }
示例#2
0
        public override GameState PerformStateChange()
        {
            GameState State = this;

            switch (RequestedState)
            {
            case GameStateID.TrackSelect:
                State = new TrackSelectState(Host, Host.Tracks, Host.sysFont);
                break;
            }
            return(State);
        }