A structure representing the rectangle component that holds the rectangle of an entity. More...
#include <CRect.hpp>
Public Attributes | |
float | height |
height of the rect of the entity More... | |
float | width |
width of the rect of the entity More... | |
float | x |
Position x inside the rectangle. | |
float | y |
Position y inside the rectangle. | |
int | current_frame |
Current frame in the rectangle. | |
int | nb_frames |
Number of frame in the rectangle. | |
A structure representing the rectangle component that holds the rectangle of an entity.
float component::crect_t::height |
height of the rect of the entity
Height of the rectangle.
float component::crect_t::width |
width of the rect of the entity
Width of the rectangle.