Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10268 in orxonox.OLD for branches/ai/src/world_entities/npcs/npc.h


Ignore:
Timestamp:
Jan 17, 2007, 5:15:00 PM (19 years ago)
Author:
patrick
Message:

now npcs should be able to shoot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/world_entities/npcs/npc.h

    r10263 r10268  
    1919  virtual void loadParams(const TiXmlElement* root = NULL);
    2020
     21
     22  bool addWeapon(Weapon* weapon, int configID = -1, int slotID = -1);
     23  void removeWeapon(Weapon* weapon);
     24  void nextWeaponConfig();
     25  void previousWeaponConfig();
     26  inline WeaponManager& getWeaponManager() { return this->weaponMan; };
     27
     28
    2129  virtual void tick(float dt);
    2230  inline int getTeam()  { return teamNumber; }
     31
     32  inline void fire() { this->bFire = true; }
    2333
    2434
Note: See TracChangeset for help on using the changeset viewer.