This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/items/Heal.h

29 lines
430 B
C
Raw Normal View History

2013-07-06 19:21:25 +00:00
/*
* SlowHeal.h
*
* Created on: 06.07.2013
* Author: Felix
*/
#ifndef DG_SLOWHEAL_H_
#define DG_SLOWHEAL_H_
#include "Gadget.h"
class Heal : public Gadget {
2013-07-10 21:41:24 +00:00
public:
Heal();
2013-07-06 19:21:25 +00:00
protected:
void onUse(Character& character) override;
void onThink(int elapsed) override;
sf::Time getCooldownTime() override;
private:
Character* mCharacter;
thor::Timer mTimer;
int mHealedTotal = 50;
};
#endif /* DG_SLOWHEAL_H_ */