galaxy
1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Frame.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_GRAPHICS_ANIM_FRAME_HPP_
9
#define GALAXY_GRAPHICS_ANIM_FRAME_HPP_
10
11
#include "
galaxy/math/Rect.hpp
"
12
13
namespace
galaxy
14
{
15
namespace
graphics
16
{
20
struct
Frame
final
21
{
25
math::fRect
m_bounds
;
26
30
double
m_duration
= 200;
31
};
32
}
// namespace graphics
33
}
// namespace galaxy
34
35
#endif
Rect.hpp
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
galaxy::graphics::Frame
Single frame of an animation.
Definition
Frame.hpp:21
galaxy::graphics::Frame::m_bounds
math::fRect m_bounds
Texture bounds.
Definition
Frame.hpp:25
galaxy::graphics::Frame::m_duration
double m_duration
Time to spend on this frame in milliseconds.
Definition
Frame.hpp:30
galaxy
src
galaxy
graphics
anim
Frame.hpp
Generated on Fri Sep 12 2025 07:29:47 for galaxy by
1.12.0