- Timestamp:
- Nov 1, 2015, 9:10:08 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/CommonController.h
r10731 r10737 33 33 #include "controllers/Controller.h" 34 34 #include "worldentities/ControllableEntity.h" 35 #include "worldentities/pawns/Pawn.h"36 35 /*#include "worldentities/pawns/Pawn.h" 36 */ 37 37 38 38 namespace orxonox … … 81 81 void moveToPosition(const Vector3& target); 82 82 void moveToTargetPosition(); 83 //enum Mode {ROCKET, ATTACK, MOVE, HOLD};//TODO; implement DEFENCE, MOVING modes 83 84 84 85 //Mode mode_; 85 86 void copyOrientation(const Quaternion& orient); 86 87 void copyTargetOrientation(); 87 88 89 /* bool isCloseAtTarget(float distance) const; 88 90 void doFire(); 89 91 void aimAtTarget(); 90 92 bool isLookingAtTarget(float angle) const; 93 94 95 std::map<std::string, int> weaponModes_; //<! Links each "weapon" to it's weaponmode - managed by setupWeapons() 96 //std::vector<int> projectiles_; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons() 97 float timeout_; //<! Timeout for rocket usage. (If a rocket misses, a bot should stop using it.) 98 void setupWeapons(); //<! Defines which weapons are available for a bot. Is recalled whenever a bot was killed. 99 bool bSetupWorked; //<! If false, setupWeapons() is called. 100 int getFiremode(std::string name); 101 */ 91 102 92 103 bool bHasTargetPosition_;
Note: See TracChangeset
for help on using the changeset viewer.