0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 12:33:43 +00:00
SDL_Minigame/include/AnimationHandler.h

27 lines
323 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 = 1
};