Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
OlympeAnimation::AnimationEvent Struct Reference

#include <AnimationBank.h>

Public Member Functions

 AnimationEvent ()=default
 
 AnimationEvent (int f, const std::string &t, const std::string &d)
 

Public Attributes

int frame = 0
 
std::string type
 
std::string dataJson
 

Detailed Description

Definition at line 46 of file AnimationBank.h.

Constructor & Destructor Documentation

◆ AnimationEvent() [1/2]

OlympeAnimation::AnimationEvent::AnimationEvent ( )
default

◆ AnimationEvent() [2/2]

OlympeAnimation::AnimationEvent::AnimationEvent ( int  f,
const std::string &  t,
const std::string &  d 
)
inline

Definition at line 53 of file AnimationBank.h.

Member Data Documentation

◆ dataJson

std::string OlympeAnimation::AnimationEvent::dataJson

Definition at line 50 of file AnimationBank.h.

◆ frame

int OlympeAnimation::AnimationEvent::frame = 0

Definition at line 48 of file AnimationBank.h.

Referenced by OlympeAnimation::AnimationBank::ParseJSON().

◆ type

std::string OlympeAnimation::AnimationEvent::type

Definition at line 49 of file AnimationBank.h.


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