Changeset 10074 for code/branches/pickupsFS14/src/modules/jump/JumpEnemy.h
- Timestamp:
- May 22, 2014, 3:05:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpEnemy.h
r10050 r10074 87 87 { return Vector2(this->fieldWidth_, this->fieldHeight_); } 88 88 89 void setWidth(const float width) 90 { this->width_ = width; } 91 float getWidth() const 92 { return width_; } 93 void setHeight(const float height) 94 { this->height_ = height; } 95 float getHeight() const 96 { return height_; } 97 89 98 virtual void setProperties(float newLeftBoundary, float newRightBoundary, float newLowerBoundary, float newUpperBoundary, float newHSpeed, float newVSpeed); 90 99 91 100 void setFigure(WeakPtr<JumpFigure> bats); //!< Set the bats for the ball. 101 virtual void touchFigure(); 102 bool dead_; 103 protected: 92 104 93 virtual void touchFigure(); 105 float width_; 106 float height_; 94 107 95 protected:96 108 float fieldWidth_; //!< The width of the playing field. 97 109 float fieldHeight_; //!< The height of the playing field.
Note: See TracChangeset
for help on using the changeset viewer.