r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
ecs::Animation Struct Referencefinal

#include <Component.hpp>

+ Inheritance diagram for ecs::Animation:
+ Collaboration diagram for ecs::Animation:

Public Attributes

int current_frame {}
 
int total_frames {}
 
float frame_duration {}
 
float current_time {}
 
int frame_width {}
 
int frame_height {}
 
int frames_per_row {}
 
- Public Attributes inherited from ecs::IComponent
std::string id
 

Detailed Description

Definition at line 76 of file Component.hpp.

Member Data Documentation

◆ current_frame

int ecs::Animation::current_frame {}

Definition at line 78 of file Component.hpp.

◆ current_time

float ecs::Animation::current_time {}

Definition at line 81 of file Component.hpp.

◆ frame_duration

float ecs::Animation::frame_duration {}

Definition at line 80 of file Component.hpp.

◆ frame_height

int ecs::Animation::frame_height {}

Definition at line 83 of file Component.hpp.

◆ frame_width

int ecs::Animation::frame_width {}

Definition at line 82 of file Component.hpp.

◆ frames_per_row

int ecs::Animation::frames_per_row {}

Definition at line 84 of file Component.hpp.

◆ total_frames

int ecs::Animation::total_frames {}

Definition at line 79 of file Component.hpp.


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