- Timestamp:
- Apr 3, 2014, 3:45:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/worldentities/pawns/ModularSpaceShip.h
r10011 r10019 40 40 41 41 #include "SpaceShip.h" 42 #include "ShipPart.h" 42 #include "items/ShipPart.h" 43 #include <map> 43 44 44 45 namespace orxonox … … 94 95 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 95 96 97 void attach(WorldEntity* object); 98 99 void addPartEntityAssignment(StaticEntity* entity, ShipPart* part); 100 ShipPart* getPartOfEntity(StaticEntity* entity) const; 101 96 102 virtual void damage(float damage, float healthdamage = 0.0f, float shielddamage = 0.0f, Pawn* originator = NULL, const btCollisionShape* cs = NULL); 97 103 … … 108 114 void registerVariables(); 109 115 std::vector<ShipPart*> partList_; // The list of all Parts mounted on this ModularSpaceShip. 116 std::map<StaticEntity*, ShipPart*> partMap_; 110 117 111 118 };
Note: See TracChangeset
for help on using the changeset viewer.