rename Character to Sprite, add definitions

This commit is contained in:
2025-03-31 19:11:25 -04:00
parent 2c02593fcd
commit c794b73c81
2 changed files with 47 additions and 27 deletions
-27
View File
@@ -1,27 +0,0 @@
#ifndef CHARACTER_H
#define CHARACTER_H
enum MOVEMENT_DIR {
UP,
DOWN,
LEFT,
RIGHT,
};
class Character {
private:
int worldX;
int worldY;
float posX;
float posY;
MOVEMENT_DIR facing;
int spriteOffset;
int renderLayer;
};
void charMove(MOVEMENT_DIR dir, int *pCharX, int *pCharY);
#endif