Exemplo n.º 1
0
        // Start is called before the first frame update
        void Start()
        {
            enemySpawner = new EnemyCreator();
            allySpawner  = new AllyCreator();

            enemies = new List <NPC>();
            allies  = new List <NPC>();

            for (int i = 0; i < 2; i++)
            {
                enemies.Add(enemySpawner.SpawnNPC("Zombie"));
            }

            for (int i = 0; i < 2; i++)
            {
                allies.Add(allySpawner.SpawnNPC("Vampire"));
            }
        }