Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2014, 3:53:11 PM (11 years ago)
Author:
noep
Message:

Expanded functionality of PartDestructionEvents, fixed cursor not showing when flying a ModularSpaceShip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/src/orxonox/items/ShipPart.h

    r10055 r10058  
    7878                { return this->alive_; }
    7979
     80            inline void setEventExecution(bool var)
     81                { this->eventExecution_ = var; }
     82            inline bool isEventExecution()
     83                { return this->eventExecution_; }
     84
    8085            virtual void setHealth(float health);
    8186            inline void addHealth(float health)
     
    114119
    115120            bool alive_;
     121            bool eventExecution_;
    116122
    117123
Note: See TracChangeset for help on using the changeset viewer.