My Project
Public Attributes | List of all members
component::crect_t Struct Reference

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.
 

Detailed Description

A structure representing the rectangle component that holds the rectangle of an entity.

Member Data Documentation

◆ height

float component::crect_t::height

height of the rect of the entity

Height of the rectangle.

◆ width

float component::crect_t::width

width of the rect of the entity

Width of the rectangle.


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