LibTMJ  1.0.0
A library for loading JSON Tiled maps
Data Fields
Tile Struct Reference

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

#include <tmj.h>

Collaboration diagram for Tile:
Collaboration graph
[legend]

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
 
Frameanimation
 
int terrain [4]
 
size_t property_count
 
Propertyproperties
 
Layerobjectgroup
 

Detailed Description

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

Definition at line 210 of file tmj.h.

Field Documentation

◆ image

char* Tile::image

Definition at line 211 of file tmj.h.

◆ type

char* Tile::type

Definition at line 212 of file tmj.h.

◆ id

int Tile::id

Definition at line 214 of file tmj.h.

◆ imageheight

int Tile::imageheight

Definition at line 215 of file tmj.h.

◆ imagewidth

int Tile::imagewidth

Definition at line 216 of file tmj.h.

◆ x

int Tile::x

Definition at line 217 of file tmj.h.

◆ y

int Tile::y

Definition at line 218 of file tmj.h.

◆ width

int Tile::width

Definition at line 219 of file tmj.h.

◆ height

int Tile::height

Definition at line 220 of file tmj.h.

◆ probability

double Tile::probability

Definition at line 222 of file tmj.h.

◆ animation_count

size_t Tile::animation_count

Definition at line 224 of file tmj.h.

◆ animation

Frame* Tile::animation

Definition at line 225 of file tmj.h.

◆ terrain

int Tile::terrain[4]

Definition at line 227 of file tmj.h.

◆ property_count

size_t Tile::property_count

Definition at line 229 of file tmj.h.

◆ properties

Property* Tile::properties

Definition at line 230 of file tmj.h.

◆ objectgroup

Layer* Tile::objectgroup

Definition at line 232 of file tmj.h.


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