start turret
This commit is contained in:
@@ -20,13 +20,14 @@ typedef struct EntityTypeReg {
|
||||
char name[20];
|
||||
int speed;
|
||||
int entityTickRate;
|
||||
uint16_t maxHealth;
|
||||
} EntityTypeReg;
|
||||
|
||||
typedef struct Entity {
|
||||
MiniRect tileRect;
|
||||
SDL_Rect renderRect;
|
||||
EntityType type;
|
||||
uint16_t health;
|
||||
int16_t health;
|
||||
MiniRect target;
|
||||
Path path;
|
||||
int entityNextTick;
|
||||
|
Reference in New Issue
Block a user