示例#1
0
        public void SpawnEnemy()
        {
            Enemy enemy = EnemyBuilder.BuildEnemy("Enemy" + EnemyCount, EnemyType);

            Field.SetEnemy(enemy);
            enemy.PlaceToField(Field);
            enemy.IsEnabled = true;

            Level.GetCurrentLevel().RootGameObject.Childs["Enemies"].AddChild(enemy);
            TimerStarted = false;
        }