Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 31, 2007, 5:39:05 AM (18 years ago)
Author:
marcscha
Message:

pirate explosion fix

File:
1 edited

Legend:

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

    r10539 r10545  
    3535  void setAI(bool activate);
    3636  inline void enableAI(int flag) { this->bAIEnabled = (bool)flag; }
    37   void destroy( /*WorldEntity* killer*/ );
     37  void destroy( WorldEntity* killer );
    3838
    3939  void hit( float damage, WorldEntity* killer);
     40
     41  inline void destroyThis() { this->destroy(NULL);};
    4042
    4143private:
Note: See TracChangeset for help on using the changeset viewer.