Quick Reference
Actions 3
| addDoors() | Adds the doors. |
| removeDoors() | Removes the doors. |
| clear() | Clear. |
Updating & Drawing 2
| _syncDoorStates() | The game's own map gets its doors' states (shut, unless they open by themselves); a battle room and the edito… |
| updateDoorsFrame() | Each frame of the game: who walks up to an automatic door, who has gone, and every leaf to its swing. |
Other 1
| _doorOccupied() | Whether anyone stands in a door's doorway now. |
Actions
addDoors
method sourceR.MapScene.prototype.addDoors(mapData, load)
Adds the doors.
removeDoors
method sourceR.MapScene.prototype.removeDoors()
Removes the doors.
clear
method sourceR.MapScene.prototype.clear()
Clear.
Updating & Drawing
_syncDoorStates
method internal sourceR.MapScene.prototype._syncDoorStates(mapData, doors)
The game's own map gets its doors' states (shut, unless they open by themselves); a battle room and the editor none.
updateDoorsFrame
method sourceR.MapScene.prototype.updateDoorsFrame(characters)
Each frame of the game: who walks up to an automatic door, who has gone, and every leaf to its swing.
Other
_doorOccupied
method internal sourceR.MapScene.prototype._doorOccupied(door)
Whether anyone stands in a door's doorway now.