entity dir
This commit is contained in:
@@ -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);
|
Reference in New Issue
Block a user