Changeset 7547 for code/trunk/src/orxonox/worldentities
- Timestamp:
- Oct 16, 2010, 12:37:09 PM (14 years ago)
- Location:
- code/trunk/src/orxonox/worldentities/pawns
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/pawns/Pawn.h
r7163 r7547 128 128 { return this->aimPosition_; } 129 129 130 virtual const Vector3& getCarrierPosition(void) 130 virtual const Vector3& getCarrierPosition(void) const 131 131 { return this->getWorldPosition(); }; 132 132 … … 144 144 bool bAlive_; 145 145 146 virtual std::vector<PickupCarrier*>* getCarrierChildren(void) 146 virtual std::vector<PickupCarrier*>* getCarrierChildren(void) const 147 147 { return new std::vector<PickupCarrier*>(); } 148 virtual PickupCarrier* getCarrierParent(void) 148 virtual PickupCarrier* getCarrierParent(void) const 149 149 { return NULL; } 150 150 -
code/trunk/src/orxonox/worldentities/pawns/SpaceShip.cc
r6711 r7547 221 221 } 222 222 223 std::vector<PickupCarrier*>* SpaceShip::getCarrierChildren(void) 223 std::vector<PickupCarrier*>* SpaceShip::getCarrierChildren(void) const 224 224 { 225 225 std::vector<PickupCarrier*>* list = new std::vector<PickupCarrier*>(); -
code/trunk/src/orxonox/worldentities/pawns/SpaceShip.h
r7163 r7547 85 85 86 86 protected: 87 virtual std::vector<PickupCarrier*>* getCarrierChildren(void) ;87 virtual std::vector<PickupCarrier*>* getCarrierChildren(void) const; 88 88 bool bInvertYAxis_; 89 89
Note: See TracChangeset
for help on using the changeset viewer.