Changeset 8588 for code/branches/bigships/src/orxonox/items/Engine.h
- Timestamp:
- May 26, 2011, 12:04:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bigships/src/orxonox/items/Engine.h
r8426 r8588 55 55 { return this->ship_; } 56 56 57 58 59 60 57 inline void setRelativePosition(const Vector3 &position) 58 { this->relativePosition_ = position; } 59 inline Vector3& getRelativePosition() 60 { return this->relativePosition_; } 61 61 62 62 inline void setBoostFactor(float factor) … … 124 124 { this->speedMultiply_=speedMultiply; } 125 125 126 126 127 127 inline void setEngineTemplate(const std::string& temp) 128 128 { this->engineTemplate_ = temp; this->loadEngineTemplate(); } … … 134 134 { return new std::vector<PickupCarrier*>(); } 135 135 virtual PickupCarrier* getCarrierParent(void) const; 136 136 137 137 void loadEngineTemplate(); 138 138 … … 141 141 void networkcallback_shipID(); 142 142 143 143 std::string engineTemplate_; 144 144 145 145 SpaceShip* ship_; 146 146 unsigned int shipID_; 147 147 Vector3 relativePosition_; 148 148 149 149 float boostFactor_;
Note: See TracChangeset
for help on using the changeset viewer.