Changeset 11029 for code/branches/presentationHS15
- Timestamp:
- Jan 3, 2016, 8:49:23 PM (9 years ago)
- Location:
- code/branches/presentationHS15/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/FlagHUD.h
r11026 r11029 43 43 namespace orxonox 44 44 { 45 class _ OverlaysExport FlagHUD : public OrxonoxOverlay , public Tickable45 class _HoverExport FlagHUD : public OrxonoxOverlay , public Tickable 46 46 { 47 47 public: -
code/branches/presentationHS15/src/modules/hover/HoverFlag.cc
r11026 r11029 106 106 } 107 107 108 109 110 111 /**112 @brief113 Is called every tick.114 @param dt115 The time since the last tick.116 */117 void HoverFlag::tick(float dt)118 {119 SUPER(HoverFlag, tick, dt);120 121 }122 123 108 /** 124 109 @brief -
code/branches/presentationHS15/src/modules/hover/HoverFlag.h
r11026 r11029 52 52 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint); 53 53 virtual ~HoverFlag(); 54 virtual void tick(float dt);55 54 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 56 55 bool getCollided(); -
code/branches/presentationHS15/src/modules/hover/HoverWall.cc
r11026 r11029 117 117 SUPER(HoverWall, XMLPort, xmlelement, mode); 118 118 } 119 120 /**121 @brief122 Is called every tick.123 Handles the movement of the ball and its interaction with the boundaries and bats.124 @param dt125 The time since the last tick.126 */127 void HoverWall::tick(float dt)128 {129 SUPER(HoverWall, tick, dt);130 131 }132 133 134 119 } -
code/branches/presentationHS15/src/modules/hover/HoverWall.h
r11026 r11029 51 51 HoverWall(Context* context, int x, int y, int orientation); 52 52 virtual ~HoverWall(); 53 virtual void tick(float dt);54 53 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 55 54 -
code/branches/presentationHS15/src/orxonox/worldentities/ExplosionPart.cc
r11026 r11029 145 145 direction_.normalise(); 146 146 147 Vector3 finalDirection = direction_ + sin((rnd(0, angle_))* M_PI/180)*velocityOffset;147 Vector3 finalDirection = direction_ + sin((rnd(0, angle_))*math::pi/180)*velocityOffset; 148 148 149 149 this->explosionEntity_->setVelocity(finalDirection*rnd(minSpeed_,maxSpeed_));
Note: See TracChangeset
for help on using the changeset viewer.