예제 #1
0
 public bool Collides(DynICollidable o)
 {
     foreach (DynCAnimation a in animations)
         if (a.Collides(o))
             return true;
     return false;
 }
예제 #2
0
파일: DynBomb.cs 프로젝트: Zimnx/DynaBomber
 public bool Collides(DynICollidable o)
 {
     return o.CollisionRect().Intersects(animation.CollisionRect());
 }
예제 #3
0
 public bool Collides(DynICollidable o)
 {
     return CollisionRect().Intersects(o.CollisionRect());
 }