added Constants module. fixes #4

This commit is contained in:
logsol 2012-07-15 22:32:44 +02:00
parent f3e186afb1
commit 3c1e7008e5
4 changed files with 29 additions and 13 deletions

View file

@ -1 +1,15 @@
Constants.js
define(function() {
var Constants = {
COLLISION_IDENTIFIER_PLAYER: 'player',
COLLISION_IDENTIFIER_PLAYER_HEAD: 'head',
COLLISION_IDENTIFIER_PLAYER_CHEST: 'chest',
COLLISION_IDENTIFIER_PLAYER_LEGS: 'legs',
COLLISION_IDENTIFIER_PLAYER_FOOT_SENSOR: 'footsensor',
COLLISION_IDENTIFIER_TILE: 'tile'
}
return Constants;
});