Browse Source

prod/test: created getCharacterHealthPoints and test_getCharacterHealthPoints

remotes/origin/characterStats
Kai Kehres 2 years ago
parent
commit
4c638d6af2
  1. 4
      src/c/character.c

4
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;
}
Loading…
Cancel
Save