◆ Grid()
tson::Grid::Grid |
( |
IJson & |
json | ) |
|
|
inlineexplicit |
Parses Tiled grid data from json
- Parameters
-
◆ getOrientation()
const std::string & tson::Grid::getOrientation |
( |
| ) |
const |
|
inline |
'orientation': Orientation of the grid for the tiles in this tileset (orthogonal or isometric)
- Returns
- orientation as string
◆ getSize()
'width' and 'height': Size.
- Returns
- size as int
◆ parse()
bool tson::Grid::parse |
( |
IJson & |
json | ) |
|
|
inline |
Parses Tiled grid data from json
- Parameters
-
- Returns
- true if all mandatory fields was found. false otherwise.
◆ m_size
'orientation': Orientation of the grid for the tiles in this tileset (orthogonal or isometric)
The documentation for this class was generated from the following file: