Namespace in reactor_core_display.js
Tilemap.Layer
8 public functions in 5 groups · show internal (_) functions
Quick Reference
Setup & Creation 1
| initialize() | Sets up a new instance. |
Getting Information 1
| size() | Size. |
Checks (True / False) 1
| isReady() | Whether it is ready. |
Actions 4
| destroy() | Destroy. |
| setBitmaps() | Sets the bitmaps. |
| clear() | Clear. |
| addRect() | Adds the rect. |
Updating & Drawing 1
| render() | Render. |
Setup & Creation
initialize
method sourceTilemap.Layer.prototype.initialize()
Sets up a new instance.
Getting Information
size
method sourceTilemap.Layer.prototype.size()
Size.
Checks (True / False)
isReady
method sourceTilemap.Layer.prototype.isReady()
Whether it is ready.
Actions
destroy
method sourceTilemap.Layer.prototype.destroy(options)
Destroy.
setBitmaps
method sourceTilemap.Layer.prototype.setBitmaps(bitmaps)
Sets the bitmaps.
clear
method sourceTilemap.Layer.prototype.clear()
Clear.
addRect
method sourceTilemap.Layer.prototype.addRect(setNumber, sx, sy, dx, dy, w, h)
Adds the rect.
Updating & Drawing
render
method sourceTilemap.Layer.prototype.render(renderer)
Render.