tilemap.TileLayer.Tile
pykraken.tilemap.TileLayer.Tile Tile represents an instance of a tile in a TileLayer.
More about tilemap.TileLayer.Tile
Attributes
- id (
int) — Global tile id (GID). - flip_flags (
int) — Flags describing tile flips/rotations. - tileset_index (
int) — Index of the tileset this tile belongs to.
At a glance
4 membersReference
PYTHON APIConstructor
methodtilemap.TileLayer.Tile(/, *args, **kwargs)Initialize self. See help(type(self)) for accurate signature.
flip_flags
propertyflip_flags: intTile flip/rotation flags.
id
propertyid: intGlobal tile id (GID).
tileset_index
propertytileset_index: intIndex of the tileset used by this tile.