Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
controller.h
Go to the documentation of this file.
1 #ifndef ROGUELIKE_COMPONENT_CONTROLLER_H_
2 #define ROGUELIKE_COMPONENT_CONTROLLER_H_
3 
4 // Inheritance
6 
7 // External Dependencies
8 #include <string>
9 
10 // Internal Dependencies
13 
14 // Forward Declarations
15 #include <ugdk/math.h>
16 #include "game/base.h"
17 
18 namespace game {
19 namespace component {
20 
21 class Controller : public ComponentBase {
22  typedef ComponentBase super;
23  public:
24  Controller(game::base::GameObject* owner) : super(owner) {}
25  virtual ~Controller() {}
26 
28 
29  action::time::TimeElapsed Cast(const std::string& skill, const action::skill::GameTargets& targets);
30  action::time::TimeElapsed Cast(const std::string& skill, const ugdk::math::Integer2D& target);
31  action::time::TimeElapsed Cast(const std::string& skill, base::GameObject* target);
32  action::time::TimeElapsed Cast(const std::string& skill);
33 
34  private:
35 };
36 
37 } // namespace component
38 } // namespace game
39 
40 #endif // ROGUELIKE_COMPONENT_CONTROLLER_H_
Definition: gameobject.h:53
action::time::TimeElapsed Cast(const std::string &skill, const action::skill::GameTargets &targets)
Definition: controller.h:21
Definition: aim.cc:15
virtual action::time::TimeElapsed Act()
Definition: controller.cc:23
Definition: componentbase.h:19
virtual ~Controller()
Definition: controller.h:25
Definition: timeelapsed.h:20
Controller(game::base::GameObject *owner)
Definition: controller.h:24
std::list< base::GameThing > GameTargets
Definition: skill.h:24