added badman shooting and reloading
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "../core/macros.h"
|
||||
|
||||
#include <SDL3/SDL_events.h>
|
||||
#include "aabb.h"
|
||||
|
||||
#define PLAYER_SPEED 10.0f
|
||||
#define PLAYER_RELOAD_TIME 1.5f
|
||||
@@ -23,7 +24,7 @@ typedef struct Player Player;
|
||||
struct Player
|
||||
{
|
||||
World *world;
|
||||
V2f pos;
|
||||
AABB collision;
|
||||
World_Area currentArea;
|
||||
U32 bulletsLoaded;
|
||||
ControlState controls;
|
||||
|
||||
Reference in New Issue
Block a user