- Timestamp:
- Oct 26, 2009, 11:01:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/steering/src/orxonox/controllers/NewHumanController.h
r5981 r5993 32 32 #include "OrxonoxPrereqs.h" 33 33 34 //#include "tools/interfaces/Tickable.h"35 34 #include "HumanController.h" 36 #include "core/input/InputHandler.h"37 #include "core/input/InputState.h"38 35 39 36 namespace orxonox 40 37 { 41 class _OrxonoxExport NewHumanController : public HumanController , public InputHandler38 class _OrxonoxExport NewHumanController : public HumanController 42 39 { 43 40 public: … … 45 42 virtual ~NewHumanController(); 46 43 47 virtual void tick(float dt);48 49 v oid startControl();50 v oid stopControl();44 // virtual void tick(float dt); 45 46 virtual void yaw(const Vector2& value); 47 virtual void pitch(const Vector2& value); 51 48 52 49 private: 53 static NewHumanController* localController_s; 54 InputState* gameInputState_; 55 56 //mouse handler functions 57 void mouseMoved (IntVector2 abs, IntVector2 rel, IntVector2 clippingSize); 50 float currentYaw_; 51 float currentPitch_; 58 52 }; 59 53 }
Note: See TracChangeset
for help on using the changeset viewer.