1 #ifndef ROGUELIKE_ACTION_SKILL_MOVEMENT_H_
2 #define ROGUELIKE_ACTION_SKILL_MOVEMENT_H_
8 #include <ugdk/portable/tr1.h>
9 #include FROM_TR1(functional)
10 #include <ugdk/math/integer2D.h>
16 #include <ugdk/math.h>
23 typedef std::tr1::function<ugdk::math::Integer2D (const base::GameObject*, const ugdk::math::Integer2D&)>
26 typedef std::tr1::function<SpendInfo (base::GameObject*, const ugdk::math::Integer2D&)>
29 typedef std::tr1::function<void (base::GameObject*, const ugdk::math::Integer2D&, const Efficiency&)>
52 #endif // ROGUELIKE_ACTION_SKILL_MOVEMENT_H_
Definition: gameobject.h:53
std::tr1::function< void(base::GameObject *, const ugdk::math::Integer2D &, const Efficiency &)> MovementAction
Definition: movement.h:30
Movement(bool is_relative, const MovementCalculator &calculator, const MovementSpender &spender, const MovementAction &action)
Definition: movement.cc:25
virtual ~Movement()
Definition: movement.h:37
std::tr1::function< ugdk::math::Integer2D(const base::GameObject *, const ugdk::math::Integer2D &)> MovementCalculator
Definition: movement.h:24
Definition: movement.h:32
Definition: timeelapsed.h:20
std::tr1::function< SpendInfo(base::GameObject *, const ugdk::math::Integer2D &)> MovementSpender
Definition: movement.h:27
time::TimeElapsed operator()(base::GameObject *caster, const GameTargets &targets)
Definition: movement.cc:30
std::list< base::GameThing > GameTargets
Definition: skill.h:24