mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
some changes to detector
This commit is contained in:
parent
ca61f9e0f9
commit
e1702966ce
1 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,12 @@
|
|||
define(["Lib/Vendor/Box2D", "Game/Core/Collision/Detector"], function(Box2D, Parent) {
|
||||
define([
|
||||
"Lib/Vendor/Box2D",
|
||||
"Game/Core/Collision/Detector"
|
||||
],
|
||||
|
||||
function(Box2D, Parent) {
|
||||
|
||||
function Detector(me) {
|
||||
Parent.apply(this);
|
||||
Parent.call(this);
|
||||
this.me = me;
|
||||
|
||||
this.listener = new Box2D.Dynamics.b2ContactListener();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue