usage of enums for frames

This commit is contained in:
Priec
2025-11-14 19:20:14 +01:00
parent 9170524d33
commit 8fa8bf392b
5 changed files with 52 additions and 39 deletions

View File

@@ -1,5 +1,6 @@
// src/render/player.h
#pragma once
#include "player_mask.h"
// Draw the player object starting at given (x, y)
void draw_player(int x, int y, int frame_index);
void draw_player(int x, int y, PlayerFrame frame);