#include <Transformations.hpp>
◆ Transformations() [1/2]
tson::Transformations::Transformations |
( |
| ) |
|
|
inlinedefault |
◆ Transformations() [2/2]
tson::Transformations::Transformations |
( |
IJson & |
json | ) |
|
|
inlineexplicit |
◆ allowHflip()
bool tson::Transformations::allowHflip |
( |
| ) |
const |
|
inline |
- Returns
- hflip: Whether the tiles in this set can be flipped horizontally (default false)
◆ allowPreferuntransformed()
bool tson::Transformations::allowPreferuntransformed |
( |
| ) |
const |
|
inline |
- Returns
- preferuntransformed: Whether untransformed tiles remain preferred, otherwise transformed tiles are used to produce more variations (default false)
◆ allowRotation()
bool tson::Transformations::allowRotation |
( |
| ) |
const |
|
inline |
- Returns
- rotate: Whether the tiles in this set can be rotated in 90 degree increments (default false)
◆ allowVflip()
bool tson::Transformations::allowVflip |
( |
| ) |
const |
|
inline |
- Returns
- vflip: Whether the tiles in this set can be flipped vertically (default false)
◆ parse()
bool tson::Transformations::parse |
( |
IJson & |
json | ) |
|
|
inline |
The documentation for this class was generated from the following file: