feat: Added basic shooting

This commit is contained in:
2025-10-05 22:35:34 +01:00
parent 3eb8683ce3
commit 319bb441ed
10 changed files with 39 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
#if !defined(LD_GAME_WORLD_H_)
#define LD_GAME_WORLD_H_
#include "player.h"
#include "npc.h"
#include "bandit.h"
#include "../core/math.h"
@@ -14,10 +13,13 @@ enum World_Area {
};
typedef struct World World;
#include "player.h"
struct World {
//// Static stuff
NavMesh *navMesh;
Random random;
V2f mouseProjected;
//// Player
Player player;