Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `level attached` as part of the world2d tiles module.
void level_attached() overridePerforms `level attached` as part of the world2d tiles module.
This overload takes no parameters.
Returns: Nothing (void).
#include "world2d_tiles.hpp"
epok::TileMapLayerComponent& object = /* obtain a valid instance */;
object.level_attached();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_tiles.hpp:101
cellThe value of a cell, runtime edits included.Methodclass_idPerforms `class id` as part of the world2d tiles module.Methodcooked_cellThe cooked value of a cell, ignoring runtime edits.Methoderase_cellPerforms `erase cell` as part of the world2d tiles module.Methodget_cell_atlas_xAtlas column of the cell's tile, or -1 when the cell is empty.Methodget_cell_atlas_yAtlas row of the cell's tile, or -1 when the cell is empty.Methodget_cell_custom_dataCustom data layer `layer` of the cell's tile; 0 for an empty cell or unknown layer.Methodis_cell_emptyReports whether cell empty as part of the world2d tiles module.Methodis_cell_solidWhether the cell's tile blocks bodies (full, rectangle or one-way collision).Methodis_visibleReports whether visible as part of the world2d tiles module.Methodmap_to_world_xWorld X / Y of a cell's centre.Methodmap_to_world_yPerforms `map to world y` as part of the world2d tiles module.Method