diff --git a/src/c/character.c b/src/c/character.c index 5e9d001..3da86cd 100644 --- a/src/c/character.c +++ b/src/c/character.c @@ -7,4 +7,8 @@ Character character; void setCharacterHealthPoints (Character *character, int newHealthPoints){ character->healthPoints = newHealthPoints; +} + +int getCharacterHealthPoints (Character *character) { + return character->healthPoints; } \ No newline at end of file