mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-05-31 10:02:08 +00:00
Merging the combat
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
typedef enum display_type
|
||||
{
|
||||
SELECT_TILE_DISPLAY,
|
||||
XP_DISPLAY
|
||||
XP_DISPLAY,
|
||||
HEALTH_DISPLAY,
|
||||
HEALTH_DISPLAY_ENNEMY
|
||||
} display_type_enum;
|
||||
|
||||
struct game_display
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
struct health_component
|
||||
{
|
||||
gc_component base;
|
||||
int health_max;
|
||||
int health;
|
||||
bool dead;
|
||||
};
|
||||
|
||||
@@ -25,4 +25,4 @@ unsigned int amount);
|
||||
|
||||
extern const struct xp_component xp_component;
|
||||
|
||||
#endif //MY_RPG_HEALTH_COMPONENT_H
|
||||
#endif //MY_RPG_XP_COMPONENT_H
|
||||
|
||||
Reference in New Issue
Block a user