Changeset 11783 for code/trunk/src/modules/superorxobros/SOBGumba.h
- Timestamp:
- Feb 20, 2018, 12:14:40 AM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/superorxobros/SOBGumba.h
- Property svn:eol-style set to native
r11416 r11783 47 47 SOBGumba(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 52 void setDirection(const bool direction); 53 void die(); 53 54 54 bool attachedToFigure_;55 56 55 void setSpeed(const float speed) 57 56 { this->speed_ = speed; } … … 60 59 61 60 bool hasCollided_; 61 SOBGumbaBoss* creator_; 62 62 protected: 63 63 float gravityAcceleration_; 64 64 float speed_; 65 WeakPtr<SOBFigure> figure_;66 65 bool goesRight_; 67 Vector3 lastPos_;68 66 bool changeAllowed_; 69 67 float changedOn_; 68 float maxLifetime_; 69 float lifetime_; 70 70 71 71 72 };
Note: See TracChangeset
for help on using the changeset viewer.