2017-07-14 13:30:20 +00:00
|
|
|
// These properties get injected into the Scene and map to local systems
|
2018-01-17 03:41:58 +00:00
|
|
|
// The map key is the property that is added to the Scene, the value is the Scene.Systems reference
|
2017-08-15 22:37:00 +00:00
|
|
|
// 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',
|
2018-01-17 03:41:58 +00:00
|
|
|
children: 'displayList',
|
2017-07-05 16:17:50 +00:00
|
|
|
data: 'data',
|
2017-06-29 23:32:18 +00:00
|
|
|
events: 'events',
|
2018-01-17 03:41:58 +00:00
|
|
|
impact: 'impactPhysics',
|
2018-01-16 23:18:02 +00:00
|
|
|
input: 'input',
|
2017-06-29 23:32:18 +00:00
|
|
|
load: 'load',
|
|
|
|
make: 'make',
|
2018-01-17 03:41:58 +00:00
|
|
|
matter: 'matterPhysics',
|
|
|
|
physics: 'arcadePhysics',
|
|
|
|
scene: 'sceneManager',
|
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;
|