예제 #1
0
 public bool HitTest(JoshoEntity otherEntity)
 {
     return HitTest(this, otherEntity);
 }
예제 #2
0
 public static bool HitTest(JoshoEntity entity1, JoshoEntity entity2)
 {
     return entity1.RectangleCollider.Intersects(entity2.RectangleCollider);
 }
예제 #3
0
 public static bool HitTestPrecise(JoshoEntity entity1, JoshoEntity entity2)
 {
     return IntersectPixels(entity1.RectangleCollider, entity1.ColorData, entity2.RectangleCollider, entity2.ColorData);
 }
예제 #4
0
 public bool HitTestPrecise(JoshoEntity otherEntity)
 {
     return HitTestPrecise(this, otherEntity);
 }