adding and print xp systeme

This commit is contained in:
Ragot mathis
2020-04-15 17:20:06 +02:00
parent c30a5581ad
commit 70f990ee68
8 changed files with 45 additions and 10 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
typedef enum display_type
{
SELECT_TILE_DISPLAY
SELECT_TILE_DISPLAY,
xp_display
} display_type_enum;
struct game_display
+2 -2
View File
@@ -18,9 +18,9 @@ struct xp_component
bool full;
};
void add_xp(struct xp_component *this, gc_engine *engine, \
void xp_add(struct xp_component *this, gc_engine *engine, \
unsigned int amount);
void rem_xp(struct xp_component *this, gc_engine *engine, \
void xp_rem(struct xp_component *this, gc_engine *engine, \
unsigned int amount);
extern const struct xp_component xp_component;