R-Type
R-Type project
KapEngine::Tools::Rectangle Class Reference

Public Member Functions

 Rectangle (float x, float y, float w, float h)
 
 Rectangle (Vector2 const &pos, Vector2 const &size)
 
void setPos (float x, float y)
 
void setPos (Vector2 const &pos)
 
void setX (float x)
 
void setPosX (float x)
 
void setY (float y)
 
void setPosY (float y)
 
void setSize (float width, float heigth)
 
void setSize (Vector2 const &size)
 
void setW (float w)
 
void setWidth (float w)
 
void setH (float h)
 
void setHeigth (float h)
 
Vector2 getPos () const
 
Vector2 getSize () const
 
float getX () const
 
float getY () const
 
float getWidth () const
 
float getHeigth () const
 
std::string to_string () const
 

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