Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2014, 3:05:46 PM (10 years ago)
Author:
fvultier
Message:

new items added. improved level generator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/src/modules/jump/JumpEnemy.h

    r10050 r10074  
    8787                { return Vector2(this->fieldWidth_, this->fieldHeight_); }
    8888
     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
    8998            virtual void setProperties(float newLeftBoundary, float newRightBoundary, float newLowerBoundary, float newUpperBoundary, float newHSpeed, float newVSpeed);
    9099
    91100            void setFigure(WeakPtr<JumpFigure> bats); //!< Set the bats for the ball.
     101            virtual void touchFigure();
     102            bool dead_;
     103        protected:
    92104
    93             virtual void touchFigure();
     105            float width_;
     106            float height_;
    94107
    95         protected:
    96108            float fieldWidth_; //!< The width of the playing field.
    97109            float fieldHeight_; //!< The height of the playing field.
Note: See TracChangeset for help on using the changeset viewer.