MCPcopy Create free account
hub / github.com/SilverTree7622/Phaser3_GUI_Inspector / constructor

Method constructor

js/manager/SrcManager.js:4–9  ·  view source on GitHub ↗
(_scene)

Source from the content-addressed store, hash-verified

2// get and set Phaser.Scene.Anims list
3export default class SrcManager {
4 constructor(_scene) {
5 this.textureList = this.initTextureList(_scene);
6 this.textureKeyList = this.initTextureKeyList(this.textureList);
7 this.animList = this.initAnimList(_scene);
8 this.animKeyList = this.initAnimKeyList(this.animList);
9 }
10 initTextureList(_scene) {
11 let tmpTL = _scene.textures.list;
12 return tmpTL;

Callers

nothing calls this directly

Calls 4

initTextureListMethod · 0.95
initTextureKeyListMethod · 0.95
initAnimListMethod · 0.95
initAnimKeyListMethod · 0.95

Tested by

no test coverage detected