Basic interaction
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include "dusk.h"
|
||||
|
||||
#define PLAYER_SPEED 64.0f
|
||||
#define PLAYER_INTERACTION_RANGE 1.0f
|
||||
#define PLAYER_INTERACTION_SIZE 0.5f
|
||||
|
||||
typedef struct entity_s entity_t;
|
||||
|
||||
@@ -28,4 +30,11 @@ void playerInit(entity_t *entity);
|
||||
*
|
||||
* @param entity Pointer to the player entity structure.
|
||||
*/
|
||||
void playerMovement(entity_t *entity);
|
||||
void playerMovement(entity_t *entity);
|
||||
|
||||
/**
|
||||
* Handles interaction logic for the player entity.
|
||||
*
|
||||
* @param entity Pointer to the player entity structure.
|
||||
*/
|
||||
void playerInteraction(entity_t *entity);
|
Reference in New Issue
Block a user