1 #ifndef ROGUELIKE_ACTION_SKILL_SELF_H_
2 #define ROGUELIKE_ACTION_SKILL_SELF_H_
8 #include <ugdk/portable/tr1.h>
9 #include FROM_TR1(functional)
15 #include <ugdk/math.h>
22 typedef std::tr1::function<bool (const base::GameObject*)>
25 typedef std::tr1::function<SpendInfo (base::GameObject*)>
28 typedef std::tr1::function<void (base::GameObject*, const Efficiency&)>
51 #endif // ROGUELIKE_ACTION_SKILL_SELF_H_
Definition: gameobject.h:53
Self(const SelfValidator &validator, const SelfSpender &spender, const SelfAction &action)
Definition: self.cc:20
virtual ~Self()
Definition: self.h:37
std::tr1::function< bool(const base::GameObject *)> SelfValidator
Definition: self.h:23
std::tr1::function< SpendInfo(base::GameObject *)> SelfSpender
Definition: self.h:26
Definition: timeelapsed.h:20
time::TimeElapsed operator()(base::GameObject *caster, const GameTargets &)
Definition: self.cc:23
std::tr1::function< void(base::GameObject *, const Efficiency &)> SelfAction
Definition: self.h:29
std::list< base::GameThing > GameTargets
Definition: skill.h:24