mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed define paths, exchanged Constants with Detector stuff
This commit is contained in:
parent
f3f9138ddc
commit
7a355e8b9a
2 changed files with 13 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue