mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added Constants module. fixes #4
This commit is contained in:
parent
f3e186afb1
commit
3c1e7008e5
4 changed files with 29 additions and 13 deletions
|
|
@ -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;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue