added an health component

This commit is contained in:
Clément Le Bihan
2020-04-01 12:26:29 +02:00
parent 0b2db91c7f
commit 6a63de4a63
3 changed files with 85 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
/*
** EPITECH PROJECT, 2019
** Gamacon
** File description:
** health_component
*/
#ifndef MY_RPG_HEALTH_COMPONENT_H
#define MY_RPG_HEALTH_COMPONENT_H
#include "component.h"
#include <stdbool.h>
struct health_component
{
gc_component base;
unsigned int health;
};
extern const struct health_component health_component;
#endif //MY_RPG_HEALTH_COMPONENT_H