added positioning

This commit is contained in:
Priec
2025-11-14 16:42:16 +01:00
parent f6a13309f7
commit d8da84cffc
3 changed files with 14 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
// src/render/player.h
#pragma once
// Draw the player object centered over the background
void draw_player(int view_width, int view_height, int frame_index);
// Draw the player object starting at given (x, y)
void draw_player(int x, int y, int frame_index);