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

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

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