![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <AnimationBank.h>
Public Member Functions | |
| int | GetFrameCount () const |
| float | GetDuration () const |
| Animation ()=default | |
Public Attributes | |
| std::string | name |
| std::string | spritesheetId |
| int | startFrame = 0 |
| int | endFrame = 0 |
| float | framerate = 12.0f |
| bool | looping = true |
| std::vector< AnimationEvent > | events |
Definition at line 60 of file AnimationBank.h.
|
default |
|
inline |
Definition at line 76 of file AnimationBank.h.
References framerate, and GetFrameCount().
Here is the call graph for this function:
|
inline |
Definition at line 73 of file AnimationBank.h.
References endFrame, and startFrame.
Referenced by GetDuration().
Here is the caller graph for this function:| int OlympeAnimation::Animation::endFrame = 0 |
Definition at line 66 of file AnimationBank.h.
Referenced by GetFrameCount().
| std::vector<AnimationEvent> OlympeAnimation::Animation::events |
Definition at line 70 of file AnimationBank.h.
| float OlympeAnimation::Animation::framerate = 12.0f |
Definition at line 67 of file AnimationBank.h.
Referenced by GetDuration().
Definition at line 68 of file AnimationBank.h.
| std::string OlympeAnimation::Animation::name |
Definition at line 62 of file AnimationBank.h.
Referenced by OlympeAnimation::AnimationBank::ParseJSON().
| std::string OlympeAnimation::Animation::spritesheetId |
Definition at line 63 of file AnimationBank.h.
| int OlympeAnimation::Animation::startFrame = 0 |
Definition at line 65 of file AnimationBank.h.
Referenced by GetFrameCount().