CLASS v1.8.0

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.

Reference

PYTHON API
tilemap.TileLayer.Tile(/, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

flip_flags

property
flip_flags: int

Tile flip/rotation flags.

id

property
id: int

Global tile id (GID).

tileset_index: int

Index of the tileset used by this tile.

Find your next step

Start typing to search the manual.