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