- Timestamp:
- Jan 4, 2016, 6:19:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/HoverShip.h
r11026 r11041 33 33 #define _HoverShip_H__ 34 34 35 #include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h>36 37 35 #include "HoverPrereqs.h" 38 36 39 #include "core/XMLPort.h"40 37 #include "worldentities/pawns/SpaceShip.h" 41 #include "graphics/Camera.h"42 #include "core/class/Super.h"43 38 44 39 namespace orxonox … … 46 41 class _HoverExport HoverShip : public SpaceShip 47 42 { 48 private:49 float jumpBoost_;50 bool isFloor_;51 52 43 public: 53 44 HoverShip(Context* context); 54 45 55 virtual void tick(float dt);56 57 46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 58 47 59 virtual void setJumpBoost(float jumpBoost); 60 61 virtual float getJumpBoost(); 48 /// sets this ships jumpBoost 49 inline void setJumpBoost(float jumpBoost) 50 { this->jumpBoost_ = jumpBoost; } 51 /// returns this ships jumpBoost 52 inline float getJumpBoost() const 53 { return this->jumpBoost_; } 62 54 63 55 virtual void moveFrontBack(const Vector2& value); … … 77 69 virtual void boost(bool bBoost); 78 70 71 private: 72 float jumpBoost_; 73 bool isFloor_; 79 74 }; 80 75 }
Note: See TracChangeset
for help on using the changeset viewer.