Tileson  1.3.0
A helpful json parser for Tiled maps
Public Member Functions | Public Attributes | List of all members
tson::Rect Class Reference

#include <Rect.hpp>

Public Member Functions

 Rect ()
 
 Rect (int x_, int y_, int width_, int height_)
 
bool operator== (const Rect &rhs) const
 
bool operator!= (const Rect &rhs) const
 

Public Attributes

int x
 
int y
 
int width
 
int height
 

Constructor & Destructor Documentation

◆ Rect() [1/2]

tson::Rect::Rect ( )
inline

◆ Rect() [2/2]

tson::Rect::Rect ( int  x_,
int  y_,
int  width_,
int  height_ 
)
inline

Member Function Documentation

◆ operator!=()

bool tson::Rect::operator!= ( const Rect rhs) const
inline

◆ operator==()

bool tson::Rect::operator== ( const Rect rhs) const
inline

Member Data Documentation

◆ height

int tson::Rect::height

◆ width

int tson::Rect::width

◆ x

int tson::Rect::x

◆ y

int tson::Rect::y

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