VEGO-Engine  0.1
Loading...
Searching...
No Matches
AnimationHandler.h
1#pragma once
2#include <cstdint>
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
19enum AnimationType //TODO enum class
20{
21 IDLE = 0,
22 WALK = 1
23};
24
25
26
Definition AnimationHandler.h:4