diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/creature.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/creature.h b/src/creature.h index 2424084..d8dbf29 100644 --- a/src/creature.h +++ b/src/creature.h @@ -77,8 +77,6 @@ namespace creature { // Setters (mutators) void setGivenName(const std::string& name); - void applyDamage(int amount, const std::string& type, const std::vector<rules::Qualifier>& qualifiers); - void applyHealing(int amount); void setScore(const rules::Ability& ability, int score); void setProfLevel(const rules::Skill& skill, int level); void setProficiency(int p); @@ -87,7 +85,14 @@ namespace creature { void addSpell(std::shared_ptr<entry::Spell> spell); void removeSpell(std::shared_ptr<entry::Spell> spell); void removeInventoryItem(std::shared_ptr<entry::Item> item); + + // Events void longRest(void); + void turnStart(void); + void turnEnd(void); + void applyDamage(int amount, const std::string& type, const std::vector<rules::Qualifier>& qualifiers); + void applyHealing(int amount); + void opportunityAttack(const creature::Creature& other); NLOHMANN_FRIEND_DECLARES(Creature); |