4849505152535455565758
} }; //create the detector with handler BroadphaseCollisionDetection sweep = new SAP2(); sweep.addHandler(handler); //add both boxes sweep.add(box1); sweep.add(box2);