fixed define paths, exchanged Constants with Detector stuff

This commit is contained in:
Jeena Paradies 2012-07-21 22:03:11 +02:00
parent f3f9138ddc
commit 7a355e8b9a
2 changed files with 13 additions and 10 deletions

View file

@ -3,10 +3,13 @@ define(function() {
function Detector() {
}
Detecotr.COLLISION_IDENTIFIER_TILE = "tile";
Detector.prototype.name = function(arguments){
return null;
Detector.IDENTIFIER = {
TILE: "tile",
PLAYER: "player",
PLAYER_HEAD: 'head',
PLAYER_CHEST: 'chest',
PLAYER_LEGS: 'legs',
PLAYER_FOOT_SENSOR: 'footsensor'
}
return Detector;