0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 23:33:41 +00:00
SDL_Minigame/include/AnimationHandler.h
2024-01-26 23:51:44 +01:00

28 lines
338 B
C

#pragma once
#include <stdint.h>
struct Animation
{
uint8_t index;
uint8_t frames;
uint8_t speed;
Animation() {}
Animation(uint8_t index, uint8_t frames, uint8_t speed)
{
this->index = index;
this->frames = frames;
this->speed = speed;
}
};
enum AnimationType //TODO enum class
{
IDLE = 0,
WALK_R = 1,
WALK_L = 2
};