Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10440 in orxonox.OLD for trunk/src/world_entities/npcs/npc.h


Ignore:
Timestamp:
Jan 28, 2007, 2:09:09 PM (17 years ago)
Author:
patrick
Message:

making weapons loadable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/npc.h

    r10376 r10440  
    2020
    2121
     22  void addWeapons(const TiXmlElement* root);
    2223  bool addWeapon(Weapon* weapon, int configID = -1, int slotID = -1);
    2324  void removeWeapon(Weapon* weapon);
     
    3132  inline void fire(){ this->bFire=true;}
    3233
    33 
     34  inline void enableAI() { this->bAIEnabled = true; }
    3435
    3536private:
     
    5152
    5253  AIModule*             aiModule;
     54
     55  bool                  bAIEnabled;   //!< true is AI enabled
    5356};
    5457
Note: See TracChangeset for help on using the changeset viewer.