mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed object create to Parent.prototype
This commit is contained in:
parent
76391c2c5e
commit
f85469b97e
4 changed files with 4 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ function(Box2D, Parent) {
|
|||
Parent.call(this);
|
||||
}
|
||||
|
||||
Detector.prototype = Object.create(Parent);
|
||||
Detector.prototype = Object.create(Parent.prototype);
|
||||
|
||||
Detector.prototype.handleStand = function(point, isColliding) {
|
||||
throw "Implement this function";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue