예제 #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
파일: GMClass.cs 프로젝트: Katsuyuu/STMHero
 public void Draw()
 {
     gameGraphic.Draw(gameState);
 }