Methods
(static) generate() → {GameMap}
Geneate a game map
Returns:
- Type
- GameMap
(static) load(floor)
Load the game map in the browser
Parameters:
Name | Type | Description |
---|---|---|
floor |
Floor | The floor to load the map for |
createRenderer()
Create a new renderer for this game map
Type Definitions
SpriteReturn
A renderer for the entire game map
Properties:
Name | Type | Description |
---|---|---|
sprite |
PIXI.Container | The sprite representing the game map |
update |
function | GameMap.updateSprite but without the container parameter |
- Source: