raylibstarter 0.1.0
|
This structure contains all data necessary for the description of the frame-by-frame animation. More...
Public Attributes | |
int | row |
y-offset measured in rows (depending on the frame height, i.e. row 1 has a y-offset of 0px, row 2 has a y-offset of the height of an animation frame, etc.). More... | |
int | steps |
Number of steps of the animation. More... | |
int | speed |
Speed of the frame-by-frame animation. More... | |
float | frame_width |
Width of a single animation frame. More... | |
float | frame_height |
Height of a single animation frame. More... | |
This structure contains all data necessary for the description of the frame-by-frame animation.
Definition at line 147 of file sprite_animated.h.
float game::core::SpriteAnimated::anim_state::frame_height |
Height of a single animation frame.
Definition at line 157 of file sprite_animated.h.
float game::core::SpriteAnimated::anim_state::frame_width |
Width of a single animation frame.
Definition at line 155 of file sprite_animated.h.
int game::core::SpriteAnimated::anim_state::row |
y-offset measured in rows (depending on the frame height, i.e. row 1 has a y-offset of 0px, row 2 has a y-offset of the height of an animation frame, etc.).
Definition at line 149 of file sprite_animated.h.
int game::core::SpriteAnimated::anim_state::speed |
Speed of the frame-by-frame animation.
Definition at line 153 of file sprite_animated.h.
int game::core::SpriteAnimated::anim_state::steps |
Number of steps of the animation.
Definition at line 151 of file sprite_animated.h.