diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 22:47:42 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 22:47:42 +0100 |
commit | 07796bea15a2d5f43766f062379b63fc9e9e1b5d (patch) | |
tree | 2d398f161a9a933176f50779ff164e76c3871f43 /backend/Player.h | |
parent | af76b9a0ae58dc8c87548053a5bc310ad6be25ce (diff) |
WIP consumables
Diffstat (limited to 'backend/Player.h')
-rw-r--r-- | backend/Player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/Player.h b/backend/Player.h index 061f13c..bf9815c 100644 --- a/backend/Player.h +++ b/backend/Player.h @@ -31,7 +31,9 @@ public: public: void take_damage(unsigned int dmg); + void add_health(unsigned int bonus); float get_attack() const; + void add_attack(float bonus); unsigned get_health() const; Location & get_location() const; void set_location(Location &); |