- Timestamp:
- May 14, 2014, 8:25:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/worldentities/pawns/ModularSpaceShip.h
r10054 r10055 113 113 virtual void damage(float damage, float healthdamage = 0.0f, float shielddamage = 0.0f, Pawn* originator = NULL, const btCollisionShape* cs = NULL); 114 114 115 static void killShipPart(std::string name); 116 115 117 void addShipPart(ShipPart* part); 116 118 ShipPart* getShipPart(unsigned int index); … … 127 129 private: 128 130 void registerVariables(); 129 std::vector<ShipPart*> partList_; // The list of all Parts mounted on this ModularSpaceShip. 130 std::vector<SmartPtr<StaticEntity>*> entityPtrList_; 131 std::vector<SmartPtr<CollisionShape>*> csPtrList_; 132 std::map<StaticEntity*, ShipPart*> partMap_; 131 std::vector<ShipPart*> partList_; // The list of all Parts mounted on this ModularSpaceShip. 132 std::map<StaticEntity*, ShipPart*> partMap_; // Map of Part-Entity-assignments 133 static std::map<StaticEntity*, ShipPart*>* partMap_s; 133 134 134 135 };
Note: See TracChangeset
for help on using the changeset viewer.