示例#1
0
        public void Draw()
        {
            gameGraphic.Draw(state);
            switch (state.gameState)
            {
            case GameState.LOGO:
                break;

            case GameState.MENU:
                break;

            case GameState.PLAYING:
                songPlayer.Draw();
                break;

            case GameState.EDITING:
                songPlayer.Draw();
                break;

            case GameState.NAME:
                NameManager.Draw();
                break;

            case GameState.CREDITS:
                Credits.Draw();
                break;

            case GameState.CONTROL:
                break;

            case GameState.MORE:
                break;

            default:
                break;
            }
        }
示例#2
0
 public void Draw()
 {
     gameGraphic.Draw(gameState);
 }