2017-06-29 23:32:18 +00:00
|
|
|
// These properties get injected into the State and map to local systems
|
|
|
|
// The key is the local system reference, the value is the property that is added to the State
|
|
|
|
// These can be modified via the config object
|
|
|
|
|
|
|
|
var InjectionMap = {
|
|
|
|
|
|
|
|
game: 'game',
|
|
|
|
|
|
|
|
anims: 'anims',
|
|
|
|
cache: 'cache',
|
|
|
|
input: 'input',
|
|
|
|
registry: 'registry',
|
|
|
|
textures: 'textures',
|
|
|
|
|
|
|
|
add: 'add',
|
|
|
|
cameras: 'cameras',
|
2017-07-05 16:17:50 +00:00
|
|
|
data: 'data',
|
|
|
|
displayList: 'children',
|
2017-06-29 23:32:18 +00:00
|
|
|
events: 'events',
|
|
|
|
load: 'load',
|
|
|
|
make: 'make',
|
2017-07-05 16:17:50 +00:00
|
|
|
pool: 'pool',
|
2017-06-29 23:32:18 +00:00
|
|
|
stateManager: 'state',
|
|
|
|
time: 'time',
|
2017-07-05 16:17:50 +00:00
|
|
|
tweens: 'tweens'
|
2017-06-29 23:32:18 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = InjectionMap;
|