Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
tson::Transformations Class Reference

Public Member Functions

 Transformations (IJson &json)
 
bool allowHflip () const
 
bool allowPreferuntransformed () const
 
bool allowRotation () const
 
bool allowVflip () const
 
bool parse (IJson &json)
 

Private Attributes

bool m_hflip {}
 
bool m_preferuntransformed {}
 
bool m_rotate {}
 
bool m_vflip {}
 

Member Function Documentation

◆ 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)

Field Documentation

◆ m_preferuntransformed

bool tson::Transformations::m_preferuntransformed {}
private

hflip: Whether the tiles in this set can be flipped horizontally (default false)

◆ m_rotate

bool tson::Transformations::m_rotate {}
private

preferuntransformed: Whether untransformed tiles remain preferred, otherwise transformed tiles are used to produce more variations (default false)

◆ m_vflip

bool tson::Transformations::m_vflip {}
private

rotate: Whether the tiles in this set can be rotated in 90 degree increments (default false)


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