Changeset 8288 in orxonox.OLD for branches/bsp_model/src/world_entities/world_entity.h
- Timestamp:
- Jun 8, 2006, 6:30:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/world_entity.h
r8219 r8288 137 137 inline float getMass() const { return this->physicsInterface.getMass(); } 138 138 inline float getTotalMass() const { return this->physicsInterface.getTotalMass(); } 139 inline void setVelocity(const Vector& vel) { this->velocity = vel; } 139 140 140 141 … … 186 187 PhysicsInterface physicsInterface; //!< the physics object of the WorldEntity 187 188 189 190 protected: 191 Vector velocity; //!< speed of the entity 192 188 193 }; 189 194
Note: See TracChangeset
for help on using the changeset viewer.