Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 9, 2019, 5:15:43 PM (5 years ago)
Author:
ahuwyler
Message:

Here and there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxCenterpoint.h

    r12307 r12366  
    139139                { return this->balltemplate_; }
    140140
    141             /**
    142             @brief Set the template for the bats. (e.g. to attach the model of the bat, but also to attach CameraPositions to it, to be able to view the game from the bats perspective)
    143             @param battemplate The name of the template to be set.
    144             */
    145             void setBattemplate(const std::string& battemplate)
    146                 { this->battemplate_ = battemplate; }
    147             /**
    148             @brief Get the template of the bats.
    149             @return Returns the name of the template of the bats.
    150             */
    151             const std::string& getBattemplate() const
    152                 { return this->battemplate_; }
    153 
     141       
    154142            /**
    155143            @brief Set the dimensions of the playing field.
     
    191179                { return this->ballaccfactor_; }
    192180
    193             /**
    194             @brief Set the speed of the bats.
    195             @param batspeed The speed of the bats.
    196             */
    197             void setBatSpeed(float batspeed)
    198                 { this->batspeed_ = batspeed; }
    199             /**
    200             @brief Get the speed of the bats.
    201             @return Returns the speed of the bats.
    202             */
    203             float getBatSpeed() const
    204                 { return this->batspeed_; }
    205 
    206             /**
    207             @brief Set the length of the bats.
    208             @param batlength The length of the bats (in z-direction) as a percentage of the height of the playing field.
    209             */
    210             void setBatLength(float batlength)
    211                 { this->batlength_ = batlength; }
    212             /**
    213             @brief Get the length of the bats.
    214             @return Returns the length of the bats (in z-direction) as a percentage of the height of the playing field.
    215             */
    216             float getBatLength() const
    217                 { return this->batlength_; }
    218 
     181   
    219182            /**
    220183            @brief Set the template for the stones.
     
    250213
    251214            std::string balltemplate_; //!< The template for the ball.
    252             std::string battemplate_; //!< The template for the bats.
    253215            std::string WallTemplate_;
    254216            std::string stoneTemplate_;
     
    256218            float ballspeed_; //!< The speed of then ball.
    257219            float ballaccfactor_; //!< The acceleration factor of the ball.
    258             float batspeed_; //!< The speed of the bat.
    259             float batlength_; //!< The length of the bat (in z-direction) as a percentage of the height of the playing field.
    260 
    261220            float width_; //!< The height of the playing field.
    262221            float height_; //!< The width of the playing field.
Note: See TracChangeset for help on using the changeset viewer.