mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +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) {
|
function Detector(me) {
|
||||||
Parent.apply(this);
|
Parent.call(this);
|
||||||
this.me = me;
|
this.me = me;
|
||||||
|
|
||||||
this.listener = new Box2D.Dynamics.b2ContactListener();
|
this.listener = new Box2D.Dynamics.b2ContactListener();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue