Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 30, 2007, 11:32:00 AM (19 years ago)
Author:
patrick
Message:

enable ai and weapon stuff

File:
1 edited

Legend:

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

    r10447 r10499  
    2626  void previousWeaponConfig();
    2727  inline WeaponManager& getWeaponManager() { return this->weaponMan; };
     28void setWeaponConfig(int i);
    2829
    2930
     
    3334  inline void fire(){ this->bFire=true;}
    3435
    35   inline void enableAI() { this->bAIEnabled = true; }
     36  inline void enableAI(int flag) { this->bAIEnabled = (bool)flag; }
    3637
    3738private:
Note: See TracChangeset for help on using the changeset viewer.