예제 #1
0
    private void Start()
    {
        _levelsManager.LoadLevels();
        MapControl.GenerateMap(_levelsManager.Levels);

        EnemiesController.EnemiesEnded += OnEnemiesEnded;
        LevelProgress.Init(EnemiesController);

        UIController.StartGame   += OnStartGame;
        UIController.RestartGame += OnRestartGame;
        UIController.ExitGame    += OnExitGame;
    }