arcade-physics
Version:
Use Arcade Physics without Phaser.
18 lines • 552 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.rbush = void 0;
const rbush_1 = __importDefault(require("rbush"));
const rbush = maxEntries => {
return new rbush_1.default(maxEntries);
};
exports.rbush = rbush;
class RTree extends rbush_1.default {
constructor(maxEntries) {
super(maxEntries);
}
}
exports.default = RTree;
//# sourceMappingURL=RTree.js.map