Пример #1
0
 protected ALevelRLR(LevelManagerRLR manager)
 {
     Manager         = manager;
     DroneFactory    = Manager.DroneFactory;
     MapGeneratorRlr = Manager.MapGenerator;
     RunlingChaser   = Manager.RunlingChaser;
 }
Пример #2
0
        private static List <ILevelRLR> SetHard(LevelManagerRLR manager)
        {
            var levels = new List <ILevelRLR>
            {
                new Level1HardRLR(manager),
                new Level2HardRLR(manager),
                new Level3HardRLR(manager),
                new Level4HardRLR(manager),
                new Level5HardRLR(manager),
                new Level6HardRLR(manager),
                new Level7HardRLR(manager),
                new Level8HardRLR(manager),
                new Level9HardRLR(manager)
            };

            return(levels);
        }
Пример #3
0
        private static List <ILevelRLR> SetNormal(LevelManagerRLR manager)
        {
            var levels = new List <ILevelRLR>
            {
                new Level1RLR(manager),
                new Level2RLR(manager),
                new Level3RLR(manager),
                new Level4RLR(manager),
                new Level5RLR(manager),
                new Level6RLR(manager),
                new Level7RLR(manager),
                new Level8RLR(manager),
                new Level9RLR(manager)
            };

            return(levels);
        }
Пример #4
0
 public Level6RLR(LevelManagerRLR manager) : base(manager)
 {
 }
Пример #5
0
 public Level9HardRLR(LevelManagerRLR manager) : base(manager)
 {
 }
Пример #6
0
 private void Awake()
 {
     _initializeGame = _controlRLR.GetComponent <InitializeGameRLR>();
     _levelManager   = _controlRLR.GetComponent <LevelManagerRLR>();
     _menuManager    = transform.parent.GetComponent <MenuManager>();
 }
Пример #7
0
 public List <ILevelRLR> SetDifficulty(LevelManagerRLR manager)
 {
     return(GameControl.GameState.SetDifficulty == Difficulty.Hard ? SetHard(manager) : SetNormal(manager));
 }