forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInjectionMap.js
More file actions
42 lines (33 loc) · 1001 Bytes
/
Copy pathInjectionMap.js
File metadata and controls
42 lines (33 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
// These properties get injected into the Scene and map to local systems
// The map key is the property that is added to the Scene, the value is the Scene.Systems reference
// These defaults can be modified via the Scene config object
var InjectionMap = {
game: 'game',
anims: 'anims',
cache: 'cache',
registry: 'registry',
sound: 'sound',
textures: 'textures',
events: 'events',
cameras: 'cameras',
cameras3d: 'cameras3d',
add: 'add',
make: 'make',
scenePlugin: 'scene',
displayList: 'children',
lights: 'lights',
data: 'data',
input: 'input',
load: 'load',
time: 'time',
tweens: 'tweens',
arcadePhysics: 'physics',
impactPhysics: 'impact',
matterPhysics: 'matter'
};
module.exports = InjectionMap;