|
R-Type
Distributed multiplayer game engine in C++
|
Rectangle structure defining a region in a texture. More...
#include <Sprite.hpp>

Public Attributes | |
| int | x |
| X coordinate of the top-left corner. | |
| int | y |
| Y coordinate of the top-left corner. | |
| int | width |
| Width of the rectangle. | |
| int | height |
| Height of the rectangle. | |
Rectangle structure defining a region in a texture.
Definition at line 18 of file Sprite.hpp.
| int ecs::Rectangle::height |
Height of the rectangle.
Definition at line 22 of file Sprite.hpp.
| int ecs::Rectangle::width |
Width of the rectangle.
Definition at line 21 of file Sprite.hpp.
| int ecs::Rectangle::x |
X coordinate of the top-left corner.
Definition at line 19 of file Sprite.hpp.
| int ecs::Rectangle::y |
Y coordinate of the top-left corner.
Definition at line 20 of file Sprite.hpp.