mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
moved detector to core
This commit is contained in:
parent
b4c59ae7c6
commit
22ae392ace
4 changed files with 58 additions and 27 deletions
|
|
@ -0,0 +1,19 @@
|
|||
define([
|
||||
"Lib/Vendor/Box2D",
|
||||
"Game/Core/Collision/Detector"
|
||||
],
|
||||
|
||||
function(Box2D, Parent) {
|
||||
|
||||
function Detector() {
|
||||
Parent.call(this);
|
||||
}
|
||||
|
||||
Detector.prototype = Object.create(Parent);
|
||||
|
||||
Detector.prototype.handleStand = function(point, isColliding) {
|
||||
throw "Implement this function";
|
||||
}
|
||||
|
||||
return Detector;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue