public Bucket(Zombie zombie) : base(zombie) { type = "B"; accessoryHealth = 100; isMetal = true; }
public void DoDamage(int damage, Zombie zombie) { Console.WriteLine($" [!] - {gameObjectManager.Zombies[0].Type} attacked."); zombie.TakeDamage(damage); }
public Cone(Zombie zombie) : base(zombie) { type = "C"; accessoryHealth = 25; isMetal = false; }
public Accessory(Zombie zombie) { this.zombie = zombie; isAlive = true; }
public ScreenDoor(Zombie zombie) : base(zombie) { type = "S"; accessoryHealth = 25; isMetal = true; }
public void RemoveZombie(Zombie zombie) { Console.WriteLine($" [!] - {zombie.Type} died."); zombies.Remove(zombie); }
public void AddZombie(Zombie zombie) { zombies.Add(zombie); }