Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 13, 2014, 11:45:47 AM (10 years ago)
Author:
noep
Message:

Fixed yet another segfault (which we hadn't seen yet).
Cleared emptyLevel, created two testlevels (testing with boxes)

File:
1 edited

Legend:

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

    r10052 r10053  
    7373                { return this->parent_; }
    7474
     75            inline void setAlive(bool var)
     76                { this->alive_ = var; }
     77            inline bool isAlive()
     78                { return this->alive_; }
     79
    7580            virtual void setHealth(float health);
    7681            inline void addHealth(float health)
     
    108113            std::vector<PartDestructionEvent*> eventList_;  // The list of all PartDestructionEvent assigned to this ShipPart.
    109114
     115            bool alive_;
     116
    110117
    111118    }; // tolua_export
Note: See TracChangeset for help on using the changeset viewer.