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/JumpProjectile.h

    r10050 r10074  
    6767            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    6868
    69             /**
    70             @brief Set the dimensions of the playing field.
    71             @param width The width of the playing field.
    72             @param height The height of the playing field.
    73             */
    7469            void setFieldDimension(float width, float height)
    7570                { this->fieldWidth_ = width; this->fieldHeight_ = height; }
    76             /**
    77             @brief Get the dimensions of the playing field.
    78             @param dimension A vector with the width as the first and height as the second component.
    79             */
     71
    8072            void setFieldDimension(const Vector2& dimension)
    8173                { this->setFieldDimension(dimension.x, dimension.y); }
    82             /**
    83             @brief Get the dimensions of the playing field.
    84             @return Returns a vector with the width as the first and height as the second component.
    85             */
     74
    8675            Vector2 getFieldDimension() const
    8776                { return Vector2(this->fieldWidth_, this->fieldHeight_); }
    8877
    8978
    90             void setFigure(WeakPtr<JumpFigure> bats); //!< Set the bats for the ball.
    91 
    92             virtual void accelerateFigure();
    93             virtual void touchFigure();
     79            void setFigure(WeakPtr<JumpFigure> figure);
    9480
    9581        protected:
Note: See TracChangeset for help on using the changeset viewer.