LibTMJ 2.0.0
A library for loading JSON Tiled maps
Loading...
Searching...
No Matches
Tile Struct Reference

https://doc.mapeditor.org/en/stable/reference/json-map-format/#tile-definition More...

#include <tmj.h>

Collaboration diagram for Tile:

Data Fields

char * image
char * type
int id
int imageheight
int imagewidth
int x
int y
int width
int height
double probability
size_t animation_count
Frame * animation
int terrain [4]
size_t property_count
Property * properties
Layer * objectgroup

Detailed Description

Field Documentation

◆ image

char* Tile::image

Definition at line 213 of file tmj.h.

◆ type

char* Tile::type

Definition at line 214 of file tmj.h.

◆ id

int Tile::id

Definition at line 216 of file tmj.h.

◆ imageheight

int Tile::imageheight

Definition at line 217 of file tmj.h.

◆ imagewidth

int Tile::imagewidth

Definition at line 218 of file tmj.h.

◆ x

int Tile::x

Definition at line 219 of file tmj.h.

◆ y

int Tile::y

Definition at line 220 of file tmj.h.

◆ width

int Tile::width

Definition at line 221 of file tmj.h.

◆ height

int Tile::height

Definition at line 222 of file tmj.h.

◆ probability

double Tile::probability

Definition at line 224 of file tmj.h.

◆ animation_count

size_t Tile::animation_count

Definition at line 226 of file tmj.h.

◆ animation

Frame* Tile::animation

Definition at line 227 of file tmj.h.

◆ terrain

int Tile::terrain[4]

Definition at line 229 of file tmj.h.

◆ property_count

size_t Tile::property_count

Definition at line 231 of file tmj.h.

◆ properties

Property* Tile::properties

Definition at line 232 of file tmj.h.

◆ objectgroup

Layer* Tile::objectgroup

Definition at line 234 of file tmj.h.


The documentation for this struct was generated from the following file: