예제 #1
0
        /// <summary>
        /// สร้างระดับความยากของเกมตอนเริ่มต้น
        /// </summary>
        public GameStageManagerSecond()
        {
            // สร้างระดับความยากของเกมในช่วง (Level 1-12)
            _gameLevels = new System.Collections.Generic.List<GameLevel>()
            {
                // TODO: ระดับความยาก State 2 ยังไม่รอบรับการสลับระหว่างที่ทำการเลือกแก้ว
                new GameLevelSecondFix(2,0,1,2,3,0,10,1.000f,01,"1"),
                new GameLevelSecondFix(2,0,1,2,3,1,15,1.665f,02,"1"),
                new GameLevelSecondFix(3,0,2,3,3,0,20,1.000f,03,"1"),
                new GameLevelSecondFix(3,0,2,3,3,1,25,1.665f,04,"1"),
                new GameLevelSecondFix(3,0,2,3,3,1,30,1.665f,05,"2"),
                new GameLevelSecondFix(4,0,3,4,3,0,35,1.000f,06,"2"),
                new GameLevelSecondFix(4,0,3,4,3,1,401,1.665f,07,"2"),
                new GameLevelSecondFix(4,0,3,4,3,1,45,1.665f,08,"2"),
                new GameLevelSecondFix(4,0,3,4,3,2,50,1.665f,09,"3"),
                new GameLevelSecondFix(5,0,4,5,3,0,55,1.665f,10,"3"),
                new GameLevelSecondFix(5,0,4,5,3,1,60,1.665f,11,"3"),
                new GameLevelSecondFix(5,1,4,5,3,1,65,1.665f,12,"3"),
            };
            _currentLevel = _gameLevels.First();

            const int AddTimeSecond = 3;
            const int MaximumTimePluse = 5;
            const float AddGameComboPluse = 0.1f;
            const float GameComboPluse = 0.9f;
            _timeCombo = new TimeCombo(AddTimeSecond,MaximumTimePluse);
            _gameCombo = new GameCombo
            {
                Pluse = GameComboPluse,
                AddPluse = AddGameComboPluse
            };
        }
예제 #2
0
        /// <summary>
        /// สร้างระดับความยากของเกมตอนเริ่มต้น
        /// </summary>
        public GameStageManagerFirst()
        {
            // สร้างระดับความยากของเกมในช่วง (Level 1-12)
            _gameLevels = new System.Collections.Generic.List<GameLevel>()
            {
                new GameLevelFirstFix(3,03,13,0,1.665f,01,"1"),
                new GameLevelFirstFix(3,04,16,0,2.220f,02,"1"),
                new GameLevelFirstFix(3,05,19,0,2.775f,03,"1"),
                new GameLevelFirstFix(3,06,22,0,3.330f,04,"1"),
                new GameLevelFirstFix(4,07,25,0,3.885f,05,"2"),
                new GameLevelFirstFix(4,08,28,0,4.440f,06,"2"),
                new GameLevelFirstFix(4,09,31,0,4.995f,07,"2"),
                new GameLevelFirstFix(4,10,34,0,5.550f,08,"2"),
                new GameLevelFirstFix(5,11,37,0,6.105f,09,"3"),
                new GameLevelFirstFix(5,12,40,0,6.670f,10,"3"),
                new GameLevelFirstFix(5,13,43,0,7.225f,11,"3"),
                new GameLevelFirstFix(5,14,46,0,7.780f,12,"3"),
            };
            _currentLevel = _gameLevels.First();

            const int AddTimeSecond = 6;
            const int MaximumTimePluse = 3;
            const float AddGameComboPluse = 0.1f;
            const float GameComboPluse = 0.9f;
            _timeCombo = new TimeCombo(AddTimeSecond,MaximumTimePluse);
            _gameCombo = new GameCombo
            {
                Pluse = GameComboPluse,
                AddPluse = AddGameComboPluse
            };
        }