Beispiel #1
0
 /// <summary>
 /// Handles the visual, and technical features of dying, such as giving the tower experience.
 /// </summary>
 /// <param name="_tower">The tower that killed the enemy</param>
 private void Die(Tower _tower)
 {
     _tower.AddExperience(xp);
 }
Beispiel #2
0
 /// <summary>
 /// Handles the visual and technical features of dying, such as giving the tower experience.
 /// </summary>
 /// <param name="tower">The tower that killed the enemy</param>
 void Die(Tower tower)
 {
     tower.AddExperience(xp);
     player.AddMoney(money);
 }