entity dir

This commit is contained in:
2025-09-17 18:38:14 -05:00
parent f799690d3c
commit 08221af3f8
16 changed files with 369 additions and 58 deletions

View File

@@ -8,6 +8,8 @@
#pragma once
#include "dusk.h"
#define PLAYER_SPEED 64.0f
typedef struct entity_s entity_t;
typedef struct {
@@ -22,8 +24,8 @@ typedef struct {
void playerInit(entity_t *entity);
/**
* Updates a player entity.
* Handles movement logic for the player entity.
*
* @param entity Pointer to the entity structure to update.
* @param entity Pointer to the player entity structure.
*/
void playerUpdate(entity_t *entity);
void playerMovement(entity_t *entity);