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

28 lines
233 B
C

#pragma once
struct Animation
{
int index;
int frames;
int speed;
Animation() {}
Animation(int i, int f, int s)
{
index = i;
frames = f;
speed = s;
}
};
enum AnimationType
{
IDLE = 0,
WALK_R = 1,
WALK_L = 2
};