All player textures are now lazy-loaded
This commit is contained in:
parent
c2d0cda441
commit
472fbb1de0
15 changed files with 470 additions and 502 deletions
|
@ -55,7 +55,10 @@ export class GameManager {
|
|||
return this.playerName;
|
||||
}
|
||||
|
||||
getCharacterLayers(): string[]|null {
|
||||
getCharacterLayers(): string[] {
|
||||
if (!this.characterLayers) {
|
||||
throw 'characterLayers are not set';
|
||||
}
|
||||
return this.characterLayers;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue