Skip to content

RoomLayer ​

Struct

Source: RoomLayout.h

Description ​

Runtime view over an exported room array — the room-graph analogue of physics::TileBehaviorLayer.

Holds no ownership: rooms points at the editor's flash-resident array.

Properties ​

NameTypeDescription
RoomDataconstPointer to the exported room array (may be null).
roomCountuint16_tNumber of entries in rooms.
tileWidthuint8_tTile width in world units. MUST be >= 1.
tileHeightuint8_tTile height in world units. MUST be >= 1.

Released under the MIT License.