示例#1
0
 /// <summary>
 /// Removes an enemy from the bank
 /// </summary>
 /// <param name="e">Instance of the enemy to kill</param>
 public void KillEnemy(Ennemi e)
 {
     Enemies.Remove(e);
 }
示例#2
0
 /// <summary>
 /// Adds an enemy from an external source to the bank
 /// </summary>
 /// <param name="e"></param>
 public void AddEnemy(Ennemi e)
 {
     Enemies.Add(e);
     game_.Components.Add(e);
 }