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

    r10050 r10074  
    9999        @endcode
    100100        As can be seen, there are actually two templates. The first template is needed to set the camera for the @ref orxonox::JumpFigure "JumpFigure". The second template ist the actual template for the @ref orxonox::JumpFigure "JumpFigure", the template for the camera position is added and a @ref orxonox::Model "Model" for the @ref orxonox::JumpFigure "JumpFigure" is attached.
    101        
     101        propellerTemplate_
    102102        Finally the JumpCenterpoint is created.
    103103        @code
     
    171171                { return this->projectileTemplate_; }
    172172
     173            void setSpringTemplate(const std::string& newTemplate)
     174                { this->springTemplate_ = newTemplate; }
     175
     176            const std::string& getSpringTemplate() const
     177                { return this->springTemplate_; }
     178
     179            void setRocketTemplate(const std::string& newTemplate)
     180                { this->rocketTemplate_ = newTemplate; }
     181
     182            const std::string& getRocketTemplate() const
     183                { return this->rocketTemplate_; }
     184
     185            void setPropellerTemplate(const std::string& newTemplate)
     186                { this->propellerTemplate_ = newTemplate; }
     187
     188            const std::string& getPropellerTemplate() const
     189                { return this->propellerTemplate_; }
     190
     191            void setBootsTemplate(const std::string& newTemplate)
     192                { this->bootsTemplate_ = newTemplate; }
     193
     194            const std::string& getBootsTemplate() const
     195                { return this->bootsTemplate_; }
     196
     197            void setShieldTemplate(const std::string& newTemplate)
     198                { this->shieldTemplate_ = newTemplate; }
     199
     200            const std::string& getShieldTemplate() const
     201                { return this->shieldTemplate_; }
     202
    173203            void setFigureTemplate(const std::string& newTemplate)
    174204                { this->figureTemplate_ = newTemplate; }
     
    182212            const std::string& getEnemy1Template() const
    183213                { return this->enemy1Template_; }
     214
     215            void setEnemy2Template(const std::string& newTemplate)
     216                { this->enemy2Template_ = newTemplate; }
     217
     218            const std::string& getEnemy2Template() const
     219                { return this->enemy2Template_; }
     220
     221            void setEnemy3Template(const std::string& newTemplate)
     222                { this->enemy3Template_ = newTemplate; }
     223
     224            const std::string& getEnemy3Template() const
     225                { return this->enemy3Template_; }
     226
     227            void setEnemy4Template(const std::string& newTemplate)
     228                { this->enemy4Template_ = newTemplate; }
     229
     230            const std::string& getEnemy4Template() const
     231                { return this->enemy4Template_; }
    184232
    185233
     
    210258                { return sectionLength_; }
    211259
    212             /**
    213             @brief Set the dimensions of the playing field.
    214             @param dimension A vector with the width of the playing field as first component and the height as second.
    215             */
    216             void setPlatformLength(const float platformLength)
    217                 { this->platformLength_ = platformLength; }
    218             /**
    219             @brief Get the dimensions of the playing field.
    220             @return Returns a vector with the width of the playing field as first component and the height as second.
    221             */
    222             float getPlatformLength() const
    223                 { return platformLength_; }
     260            void setPlatformSpeed(const float platformSpeed)
     261                { this->platformSpeed_ = platformSpeed; }
     262
     263            float getPlatformSpeed() const
     264                { return platformSpeed_; }
     265
     266            void setCameraOffset(const float cameraOffset)
     267                { this->cameraOffset_ = cameraOffset; }
     268
     269            float getCameraOffset() const
     270                { return cameraOffset_; }
     271
    224272
    225273        private:
     
    233281            std::string platformFakeTemplate_; //!< The template for the ball.
    234282            std::string projectileTemplate_; //!< The template for the ball.
     283            std::string springTemplate_; //!< The template for the ball.
     284            std::string rocketTemplate_; //!< The template for the ball.
     285            std::string propellerTemplate_; //!< The template for the ball.
     286            std::string bootsTemplate_; //!< The template for the ball.
     287            std::string shieldTemplate_; //!< The template for the ball.
    235288            std::string figureTemplate_; //!< The template for the bats.
    236289            std::string enemy1Template_; //!< The template for the bats.
     290            std::string enemy2Template_; //!< The template for the bats.
     291            std::string enemy3Template_; //!< The template for the bats.
     292            std::string enemy4Template_; //!< The template for the bats.
    237293
    238294            float width_; //!< The height of the playing field.
    239295            float height_; //!< The width of the playing field.
    240296            float sectionLength_; //!< Height of one section
    241             float platformLength_; // Avoids intersecting platforms
     297            float platformSpeed_; //!< Height of one section
     298            float cameraOffset_; //!< Height of one section
    242299    };
    243300}
Note: See TracChangeset for help on using the changeset viewer.