-
Notifications
You must be signed in to change notification settings - Fork 1
Gfx2IsoTileMapLayer
jay19240 edited this page Dec 11, 2024
·
2 revisions
A isometric tilemap layer drawable.
- inherit from: Gfx2Drawable
- new Gfx2IsoTileMapLayer(): Gfx2IsoTileMapLayer
- getColorDebug(): string
- getLineWidthDebug(): number
- getTiles()
- isShowDebug(): boolean
-
loadFromTileMap(tilemap: Gfx2TileMap, layerIndex: number): void
- tilemap: The tilemap.
- layerIndex: The index of the tilelayer.
- onRender(): void
-
placeTile(tileId: number, row: number, col: number): void
- tileId: The tile identifier.
- row: The row index.
- col: The col index.
-
removeTileAt(row: number, col: number): void
- row: The row index.
- col: The col index.
-
setColorDebug(colorDebug: string): void
- colorDebug: The color.
-
setLineWidthDebug(lineWidthDebug: number): void
- lineWidthDebug: The line width.
-
setShowDebug(showDebug: boolean): void
- showDebug: The showDebug flag.
-
update(ts: number): void
- ts: The timestep.