Example #1
0
    void Start()
    {
        // Generate a maze
        mazeGenerator.GenerateMaze();

        // Spawn enemies
        // (WIP......)

        // Spawn player character
        playerCharacter = UnitSpawner.SpawnPlayerCharacter(tileStart);

        // (DM) Test Monster
        UnitSpawner.SpawnMonsters();

        // Setup timer
        timer = timerStart;

        // Set init flag to true
        finishedInitLevel = true;
    }