Namespace in reactor_core_display.js

Tilemap.Layer

8 public functions in 5 groups · show internal (_) functions

The Database: everything Core loads at boot.

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 source
Tilemap.Layer.prototype.initialize()

Sets up a new instance.

Getting Information

size

method source
Tilemap.Layer.prototype.size()

Size.

Checks (True / False)

isReady

method source
Tilemap.Layer.prototype.isReady()

Whether it is ready.

Actions

destroy

method source
Tilemap.Layer.prototype.destroy(options)

Destroy.

setBitmaps

method source
Tilemap.Layer.prototype.setBitmaps(bitmaps)

Sets the bitmaps.

clear

method source
Tilemap.Layer.prototype.clear()

Clear.

addRect

method source
Tilemap.Layer.prototype.addRect(setNumber, sx, sy, dx, dy, w, h)

Adds the rect.

Updating & Drawing

render

method source
Tilemap.Layer.prototype.render(renderer)

Render.