public Game(Rectangle boundaries) { Boundaries = boundaries; fPlayer = new Player(new Point(boundaries.Left + 10, boundaries.Top + 70)); NewLevel(); NewLevel(); }
public void HitPlayer(Player player, Random rnd) { player.TakeHit(MaxDamage, rnd); }