Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2011, 11:40:54 PM (13 years ago)
Author:
jo
Message:

First successful attempt, to make bots shoot rockets. Unfortunately they're shooting the wrong ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/src/orxonox/controllers/ArtificialController.h

    r7842 r8701  
    146146            bool bShooting_;
    147147           
    148             int numberOfWeapons;
     148            int numberOfWeapons;//< Used for weapon init function. Displayes number of weapons available for a bot.
    149149            int weapons[WeaponSystem::MAX_WEAPON_MODES];
     150            int projectiles[WeaponSystem::MAX_WEAPON_MODES];
    150151            float botlevel_; //< Makes the level of a bot configurable.
     152
     153            enum Mode {DEFAULT, ROCKET, DEFENCE, MOVING};//TODO; implement DEFENCE, MOVING modes
     154            Mode mode_;
    151155
    152156        private:
     
    157161
    158162#endif /* _ArtificialController_H__ */
     163
Note: See TracChangeset for help on using the changeset viewer.