TILE namespace JJ2+

Tile quadrants and tile flags

Enums

enum Flags { RAWRANGE, HFLIPPED, VFLIPPED, ANIMATED } JJ2+
Bits of a tile value besides the tile index
enum Quadrant { TOPLEFT = 0, TOPRIGHT = 1, BOTTOMLEFT = 2, BOTTOMRIGHT = 3, ALLQUADRANTS = 4 } JJ2+
Part of a tile to draw, see jjCANVAS::drawTile()

Enum documentation

enum TILE::Flags JJ2+

Bits of a tile value besides the tile index

Enumerators
RAWRANGE

Mask of the bits holding the tile index

HFLIPPED

Tile is flipped horizontally

VFLIPPED

Tile is flipped vertically

ANIMATED

Index refers to an animated tile

enum TILE::Quadrant JJ2+

Part of a tile to draw, see jjCANVAS::drawTile()

Enumerators
TOPLEFT

Top left quarter only

TOPRIGHT

Top right quarter only

BOTTOMLEFT

Bottom left quarter only

BOTTOMRIGHT

Bottom right quarter only

ALLQUADRANTS

The whole tile