Пример #1
0
 public override void OnCollision(GamePiece other)
 {
     if (!destroyed && other.CanCollide(this))
     {
         other.DidCollide(this);
     }
 }