- Timestamp:
- Feb 18, 2018, 5:23:29 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOBMushroom.h
r11416 r11769 47 47 SOBMushroom(Context* context); 48 48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 49 virtual void setFigure(SOBFigure* newFigure);50 49 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 51 50 virtual void tick(float dt) override; 52 51 53 52 54 bool attachedToFigure_;55 56 53 void setSpeed(const float speed) 57 54 { this->speed_ = speed; } … … 63 60 float gravityAcceleration_; 64 61 float speed_; 65 WeakPtr<SOBFigure> figure_;66 62 bool goesRight_; 67 Vector3 lastPos_;68 63 bool changeAllowed_; 69 64 float changedOn_;
Note: See TracChangeset
for help on using the changeset viewer.