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
roomsconst RoomData*Pointer to the exported room array (may be null).
roomCountuint16_tNumber of entries in rooms.
tileWidthuint8_tCell stride X in world units (32 for 2:1 iso, not the art width). MUST be >= 1.
tileHeightuint8_tCell stride Y in world units (16 for 2:1 iso, not the art height). MUST be >= 1.

Released under the MIT License.