LayerTile struct
#include <Jazz2/Tiles/TileMap.h>
Represents a single tile placed in a tile map layer.
One entry of a layer's layout grid. It references a tile in the tile set (or an animated tile) together with its packed parameters, flags, transparency and the suspend and destruct behavior; for destructible tiles it also tracks the associated animation and the currently active frame (reused as collapse delay or trigger ID).
Public variables
-
std::
int32_t TileID - Tile ID.
-
std::
uint16_t TileParams - Tile parameters.
- LayerTileFlags Flags
- Tile flags.
-
std::
uint8_t Alpha - Tile transparency.
- SuspendType HasSuspendType
- Suspend type of tile.
- TileDestructType DestructType
- Destruct type of tile.
-
std::
int32_t DestructAnimation - Animation ID for destructible tile.
-
std::
int32_t DestructFrameIndex - Denotes the specific frame from the above animation that is currently active — Collapsible: Delay ("wait" parameter); Trigger: Trigger ID.