- Timestamp:
- Jul 18, 2011, 10:59:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/ArtificialController.h
r8762 r8763 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include < vector>34 #include <map> 35 35 36 36 #include "util/Math.h" … … 149 149 bool bShooting_; 150 150 151 int numberOfWeapons; //<! Used for weapon init function. Displayes number of weapons available for a bot. 152 int weaponModes[WeaponSystem::MAX_WEAPON_MODES]; //<! Links each "weapon" to it's weaponmode- managed by setupWeapons() 153 int projectiles[WeaponSystem::MAX_WEAPON_MODES]; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons() 151 std::map<std::string, int> weaponModes_; //<! Links each "weapon" to it's weaponmode- managed by setupWeapons() 152 //std::vector<int> projectiles_; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons() 154 153 float botlevel_; //<! Makes the level of a bot configurable. 155 154 float timeout_; //<! Timeout for rocket usage. (If a rocket misses, a bot should stop using it.) … … 160 159 void setupWeapons(); //<! Defines which weapons are available for a bot. Is recalled whenever a bot was killed. 161 160 bool bSetupWorked; //<! If false, setupWeapons() is called. 161 int getFiremode(std::string name); 162 162 }; 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.