Beispiel #1
0
 public void SetupQuadTree()
 {
     CollisionQuad = new QuadTree(0, new BoundingRectangle(0, 0, Controller.WorldBounds.Width, Controller.WorldBounds.Height));
     CollisionSolver = new CollisionSolver(CollisionQuad);
 }
Beispiel #2
0
 public void setupQuadTree()
 {
     CollisionQuad = new QuadTree(0, new BoundingRectangle(0, 0, GameManager.WorldBounds.Width, GameManager.WorldBounds.Height));
     CollisionSolver = new CollisionSolver(CollisionQuad);
 }