常用方法
常用方法
常用方法
常用方法
public static bool IsCollidingWith(Rectangle thisBox,GameObject someObject) { return /*objects.Contains(someObject) &&*/ thisBox.Intersects(someObject.getCollisionBox()); }
public static bool IsCollidingWith(Rectangle thisBox,GameObject someObject) { return /*objects.Contains(someObject) &&*/ thisBox.Intersects(someObject.getCollisionBox()); }