Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
controller_idle.h
Go to the documentation of this file.
1 #ifndef ROGUELIKE_COMPONENT_CONTROLLER_IDLE_H_
2 #define ROGUELIKE_COMPONENT_CONTROLLER_IDLE_H_
3 
4 // Inheritance
6 
7 // External Dependencies
8 // (none)
9 
10 // Internal Dependencies
11 // (none)
12 
13 // Forward Declarations
14 #include "game/base.h"
15 
16 namespace game {
17 namespace component {
18 
19 class ControllerIdle : public Controller {
20  typedef Controller super;
21  public:
22  ControllerIdle(game::base::GameObject* owner) : super(owner) {}
24 
25  action::time::TimeElapsed Act() { return false; }
26 };
27 
28 } // namespace component
29 } // namespace game
30 
31 #endif // ROGUELIKE_COMPONENT_CONTROLLER_IDLE_H_
Definition: gameobject.h:53
Definition: controller.h:21
Definition: aim.cc:15
Definition: componentbase.h:19
Definition: timeelapsed.h:20
~ControllerIdle()
Definition: controller_idle.h:23
action::time::TimeElapsed Act()
Definition: controller_idle.h:25
Definition: controller_idle.h:19
ControllerIdle(game::base::GameObject *owner)
Definition: controller_idle.h:22