コード例 #1
0
ファイル: InitialState.cs プロジェクト: cuba-3/GameDesign
        public void CoinRoomTransition()
        {
            var state = new CoinRoomState(Game);

            Game.currentGameState = state;
            if (Game.mario != null)
            {
                Game.mario.PlayerStats = new PlayerStats(Game.Content, Game.GraphicsDevice, "Mario", Game);
            }
        }
コード例 #2
0
ファイル: CoinRoomState.cs プロジェクト: cuba-3/GameDesign
        public void CoinRoomTransition()
        {
            var state = new CoinRoomState(Game);

            Game.currentGameState = state;
        }