- Timestamp:
- Nov 15, 2015, 4:47:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/CommonController.h
r10803 r10805 65 65 }; 66 66 67 } 68 namespace Action 69 { 70 enum Value 71 { 72 FLY, FIGHT, PROTECT 73 }; 67 74 } 68 75 //none for a formation flight … … 121 128 /*void spin(); 122 129 void turn180();*/ 123 130 Action::Value getAction (); 131 void setAction (Action::Value action, ControllableEntity* target); 132 void setAction (Action::Value action, const Vector3& target); 133 void setAction (Action::Value action, const Vector3& target, const Quaternion& orient ); 124 134 125 135 protected: … … 158 168 Quaternion targetOrientation_; 159 169 170 Vector3 destination_; 171 bool bHasDestination; 172 173 160 174 void stopMoving(); 161 175 void setPositionOfTarget(const Vector3& target); … … 170 184 //WeakPtr<ControllableEntity> thisEntity_; 171 185 186 187 188 Action::Value action_; 172 189 bool bEngaging_; 173 190 bool bShooting_;
Note: See TracChangeset
for help on using the changeset viewer.