mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-05-28 17:04:44 +00:00
merge player.gcprefab resolve
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
|
||||
typedef enum display_type
|
||||
{
|
||||
SELECT_TILE_DISPLAY
|
||||
SELECT_TILE_DISPLAY,
|
||||
xp_display
|
||||
} display_type_enum;
|
||||
|
||||
struct game_display
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
** EPITECH PROJECT, 2019
|
||||
** Gamacon
|
||||
** File description:
|
||||
** xp_component
|
||||
*/
|
||||
|
||||
#ifndef MY_RPG_HEALTH_COMPONENT_H
|
||||
#define MY_RPG_HEALTH_COMPONENT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "component.h"
|
||||
|
||||
struct xp_component
|
||||
{
|
||||
gc_component base;
|
||||
int xp;
|
||||
bool full;
|
||||
};
|
||||
|
||||
void xp_add(struct xp_component *this, gc_engine *engine, \
|
||||
unsigned int amount);
|
||||
void xp_rem(struct xp_component *this, gc_engine *engine, \
|
||||
unsigned int amount);
|
||||
|
||||
extern const struct xp_component xp_component;
|
||||
|
||||
#endif //MY_RPG_HEALTH_COMPONENT_H
|
||||
Reference in New Issue
Block a user