コード例 #1
0
 public static void Initlialize(int worldWidth, int worldHeight)
 {
     collidingObjects = new QuadTree<ICollidable>(0, new Rectangle(0, 0, worldWidth, worldHeight));
 }
コード例 #2
0
 public CollisionHandler(int worldWidth, int worldHeight)
 {
     this.objectsInPlane = new QuadTree(0, new Rectangle(0, 0, worldWidth, worldHeight));
 }