1 2 3 4 5 6 7 8 9 10 11 12
#include "Stick.hpp" Stick::Stick(const std::string &name, int maxUses) : Item(Item::Type::STICK, name), _maxUses(maxUses) { _remainingUses = _maxUses; } bool Stick::use(Actor &user, Actor &actor) { // TODO remove placeholder return true; }