示例#1
0
        private void Drop()
        {
            int randInt = rand.Next(100);

            if (randInt < baseEnemyDropChance)
            {
                BaseEnemy e = new BaseEnemy(position);
                e.SetAnimations();
                WaveManager.AddBaseEnemy(e);
            }
        }
示例#2
0
 public static void AddBaseEnemy(BaseEnemy e)
 {
     enemies.Add(e);
 }