- Timestamp:
- Nov 25, 2015, 12:07:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/CommonController.h
r10851 r10854 41 41 #include <algorithm> 42 42 #include "worldentities/Actionpoint.h" 43 #include "worldentities/pawns/SpaceShip.h" 43 44 44 45 namespace orxonox … … 133 134 //----[/Helper methods]---- 134 135 135 //----[Actionpoint information]---- 136 137 std::vector<WeakPtr<WorldEntity> > actionpoints_; 138 float squaredaccuracy_; 139 std::vector<Point > parsedActionpoints_; 140 141 //----[/Actionpoint information]---- 142 //----[Actionpoint methods]---- 143 void executeActionpoint(); 144 void nextActionpoint(); 145 //----[Actionpoint methods]---- 136 137 virtual void stayNearProtect(); 138 virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour. 139 146 140 protected: 147 141 //----[Flying methods]---- … … 180 174 void setClosestTarget(); 181 175 Pawn* closestTarget(); 182 boolstartAttackingEnemiesThatAreClose();176 void startAttackingEnemiesThatAreClose(); 183 177 //----[/Fighting methods]---- 184 178 … … 203 197 //----[/who-to-kill information]---- 204 198 205 199 //----[Actionpoint information]---- 200 201 std::vector<WeakPtr<WorldEntity> > actionpoints_; 202 float squaredaccuracy_; 203 std::vector<Point > parsedActionpoints_; 204 205 //----[/Actionpoint information]---- 206 //----[Actionpoint methods]---- 207 void executeActionpoint(); 208 void nextActionpoint(); 209 //----[Actionpoint methods]---- 206 210 //----["Private" variables]---- 207 211 FormationMode::Value formationMode_;
Note: See TracChangeset
for help on using the changeset viewer.