- Timestamp:
- Jul 17, 2011, 11:43:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/ArtificialController.h
r8757 r8762 150 150 151 151 int numberOfWeapons; //<! Used for weapon init function. Displayes number of weapons available for a bot. 152 bool weapons[WeaponSystem::MAX_WEAPON_MODES]; //<! Displays if a weapon is available- managed by setupWeapons()152 int weaponModes[WeaponSystem::MAX_WEAPON_MODES]; //<! Links each "weapon" to it's weaponmode- managed by setupWeapons() 153 153 int projectiles[WeaponSystem::MAX_WEAPON_MODES]; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons() 154 154 float botlevel_; //<! Makes the level of a bot configurable. … … 159 159 void setPreviousMode(); 160 160 void setupWeapons(); //<! Defines which weapons are available for a bot. Is recalled whenever a bot was killed. 161 const std::string getWeaponname(int i, int u, Pawn* pawn); //<! Function that links a weapon's firemode to its name.162 void analyseWeapons(Pawn* pawn);163 161 bool bSetupWorked; //<! If false, setupWeapons() is called. 164 162 };
Note: See TracChangeset
for help on using the changeset viewer.