VEGO-Engine
0.1
Loading...
Searching...
No Matches
AnimationHandler.h
1
#pragma once
2
#include <cstdint>
3
struct
Animation
4
{
5
uint8_t index;
6
uint8_t frames;
7
uint8_t speed;
8
9
Animation
() {}
10
11
Animation
(uint8_t index, uint8_t frames, uint8_t speed)
12
{
13
this->index = index;
14
this->frames = frames;
15
this->speed = speed;
16
}
17
};
18
19
enum
AnimationType
//TODO enum class
20
{
21
IDLE = 0,
22
WALK = 1
23
};
24
25
26
Animation
Definition
AnimationHandler.h:4
include
AnimationHandler.h
Generated by
1.11.0