2017-07-14 13:30:20 +00:00
|
|
|
// These properties get injected into the Scene and map to local systems
|
2017-08-15 22:37:00 +00:00
|
|
|
// The map key is the local system reference, the value is the property that is added to the Scene
|
|
|
|
// These defaults can be modified via the Scene config object
|
2017-06-29 23:32:18 +00:00
|
|
|
|
|
|
|
var InjectionMap = {
|
|
|
|
|
|
|
|
game: 'game',
|
|
|
|
|
|
|
|
anims: 'anims',
|
|
|
|
cache: 'cache',
|
|
|
|
registry: 'registry',
|
2018-01-11 14:48:43 +00:00
|
|
|
sound: 'sound',
|
2017-06-29 23:32:18 +00:00
|
|
|
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',
|
2017-07-13 14:48:51 +00:00
|
|
|
inputManager: 'input',
|
2017-06-29 23:32:18 +00:00
|
|
|
load: 'load',
|
|
|
|
make: 'make',
|
2017-08-15 22:37:00 +00:00
|
|
|
physicsManager: 'physics',
|
2017-07-14 13:30:20 +00:00
|
|
|
sceneManager: 'scene',
|
2017-06-29 23:32:18 +00:00
|
|
|
time: 'time',
|
2017-07-05 16:17:50 +00:00
|
|
|
tweens: 'tweens'
|
2017-06-29 23:32:18 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = InjectionMap;
|