mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 12:33:43 +00:00
23 lines
214 B
C
23 lines
214 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 = 1
|
|
}; |