Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 14, 2014, 8:25:08 PM (10 years ago)
Author:
noep
Message:

Cleaned up code. Added console command "ModularSpaceShip killshippart [string]" which allows manual destruction of a ShipPart by name. Added more functionality to PartDestructionEvents.

File:
1 edited

Legend:

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

    r10053 r10055  
    102102        protected:
    103103            ModularSpaceShip* parent_;
    104             unsigned int parentID_; // Object ID of the SpaceShip the Part is mounted on.
     104            unsigned int parentID_;     // Object ID of the SpaceShip the Part is mounted on.
    105105
    106106            float damageAbsorption_;
     
    110110
    111111        private:
    112             std::vector<StaticEntity*> entityList_; // list of all entities which belong to this part
     112            std::vector<StaticEntity*> entityList_;         // List of all entities which belong to this part
    113113            std::vector<PartDestructionEvent*> eventList_;  // The list of all PartDestructionEvent assigned to this ShipPart.
    114114
Note: See TracChangeset for help on using the changeset viewer.