public void Remove() { _layer.Remove(this); Location = null; Position = null; }
public bool OnCollision(Player player) { player.Health += RestoreHealth; _layer.Remove(this); return(true); }