Exemplo n.º 1
0
 public void Collide(Entity other)
 {
     if (other is Player)
     {
         Dispose();
     }
 }
Exemplo n.º 2
0
        public bool BroadPhaseFilter(Entity other)
        {
            if (other is Projectile)
            {
                return false;
            }

            return false;
        }
Exemplo n.º 3
0
        public bool BroadPhaseFilter(Entity other)
        {
            if (other is Player)
            {
                return true;
            }

            return false;
        }
Exemplo n.º 4
0
 public void Collide(Entity other)
 {
     OnHit();
 }