public void PlayerRespawn_OnlyRespawnsPlayers() { Wall wall = new Wall(0, 0, false); Eagle eagle = new Eagle(0, 0); wall.Life = 0; eagle.Life = 0; wall.PlayerRespawn(); eagle.PlayerRespawn(); Assert.That(eagle.Life == 0 && wall.Life == 0); }
public void PlayerRespawn_OnlyRespawnsPlayers() { Wall wall = new Wall(0, 0, false); Eagle eagle = new Eagle(0, 0); wall.Life = 0; eagle.Life = 0; wall.PlayerRespawn(); eagle.PlayerRespawn(); Assert.That(eagle.Life == 0 && wall.Life == 0); }