|
@ -7,4 +7,8 @@ Character character; |
|
|
|
|
|
|
|
|
void setCharacterHealthPoints (Character *character, int newHealthPoints){ |
|
|
void setCharacterHealthPoints (Character *character, int newHealthPoints){ |
|
|
character->healthPoints = newHealthPoints; |
|
|
character->healthPoints = newHealthPoints; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int getCharacterHealthPoints (Character *character) { |
|
|
|
|
|
return character->healthPoints; |
|
|
} |
|
|
} |