コード例 #1
0
        public GameStage()
        {
            CurrentLevel = Level.LEVEL1;

            switch(CurrentLevel)
            {
                case Level.LEVEL1:
                    level1 = new Level1();
                    break;
                case Level.LEVEL2:
                    level2 = new Level2();
                    break;
            }
        }
コード例 #2
0
        public GameStage()
        {
            CurrentLevel = Level.LEVEL1;

            switch (CurrentLevel)
            {
            case Level.LEVEL1:
                level1 = new Level1();
                break;

            case Level.LEVEL2:
                level2 = new Level2();
                break;
            }
        }