- Timestamp:
- Nov 26, 2008, 7:48:26 PM (16 years ago)
- Location:
- code/branches/pickups2/src/orxonox/objects/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/worldentities/pawns/Pawn.h
r2098 r2289 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "objects/pickup/ShipEquipment.h" 34 34 #include "objects/worldentities/ControllableEntity.h" 35 35 … … 75 75 76 76 virtual void fire(); 77 77 ShipEquipment pickUp; 78 78 virtual void postSpawn(); 79 79 … … 83 83 84 84 bool bAlive_; 85 85 86 86 87 float health_; -
code/branches/pickups2/src/orxonox/objects/worldentities/pawns/SpaceShip.h
r2087 r2289 74 74 inline float getMaxSecondarySpeed() const 75 75 { return this->maxSecondarySpeed_; } 76 inline floatgetMaxRotation() const77 { return this->maxRotation_ .valueDegrees(); }76 inline const Degree& getMaxRotation() const 77 { return this->maxRotation_; } 78 78 inline float getTransAcc() const 79 79 { return this->translationAcceleration_; } 80 inline floatgetRotAcc() const81 { return this->rotationAcceleration_ .valueDegrees(); }80 inline const Degree& getRotAcc() const 81 { return this->rotationAcceleration_; } 82 82 inline float getTransDamp() const 83 83 { return this->translationDamping_; } … … 90 90 float translationAcceleration_; 91 91 float translationDamping_; 92 93 92 Degree maxRotation_; 94 93 Degree rotationAcceleration_;
Note: See TracChangeset
for help on using the changeset viewer.