示例#1
0
 public void Collide(Entity other)
 {
     if (other is Player)
     {
         Dispose();
     }
 }
示例#2
0
        public bool BroadPhaseFilter(Entity other)
        {
            if (other is Projectile)
            {
                return false;
            }

            return false;
        }
示例#3
0
        public bool BroadPhaseFilter(Entity other)
        {
            if (other is Player)
            {
                return true;
            }

            return false;
        }
示例#4
0
 public void Collide(Entity other)
 {
     OnHit();
 }