#include <rect.hpp>
Public Member Functions | |
Rect () | |
Rect (int left_, int top_, int right_, int bottom_) | |
Rect (int left_, int top_, const Size &size) | |
int | get_width () const |
int | get_height () const |
Public Attributes | |
int | left |
int | top |
int | right |
int | bottom |
Definition at line 22 of file rect.hpp.
Rect::Rect | ( | ) | [inline] |
Rect::Rect | ( | int | left_, | |
int | top_, | |||
int | right_, | |||
int | bottom_ | |||
) | [inline] |
Rect::Rect | ( | int | left_, | |
int | top_, | |||
const Size & | size | |||
) | [inline] |
int Rect::get_width | ( | ) | const [inline] |
Definition at line 52 of file rect.hpp.
Referenced by TextureManager::create_image_texture_raw(), and Surface::get_width().
int Rect::get_height | ( | ) | const [inline] |
Definition at line 53 of file rect.hpp.
Referenced by TextureManager::create_image_texture_raw(), and Surface::get_height().
int Rect::left |
Definition at line 25 of file rect.hpp.
Referenced by Sector::collision_tile_attributes(), Sector::collision_tilemap(), TextureManager::create_image_texture_raw(), get_width(), Surface::get_x(), and Sector::is_free_of_tiles().
int Rect::top |
Definition at line 26 of file rect.hpp.
Referenced by Sector::collision_tile_attributes(), Sector::collision_tilemap(), TextureManager::create_image_texture_raw(), get_height(), Surface::get_y(), and Sector::is_free_of_tiles().
int Rect::right |
Definition at line 27 of file rect.hpp.
Referenced by Sector::collision_tile_attributes(), Sector::collision_tilemap(), get_width(), and Sector::is_free_of_tiles().
int Rect::bottom |
Definition at line 28 of file rect.hpp.
Referenced by Sector::collision_tile_attributes(), Sector::collision_tilemap(), get_height(), and Sector::is_free_of_tiles().