some changes to detector

This commit is contained in:
logsol 2012-07-21 23:00:39 +02:00
parent ca61f9e0f9
commit e1702966ce

View file

@ -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();