- Timestamp:
- Apr 18, 2019, 3:00:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxCenterpoint.h
r12266 r12307 217 217 { return this->batlength_; } 218 218 219 /** 220 @brief Set the template for the stones. 221 @param templateName The template name to be applied to each stone. 222 */ 223 void setStoneTemplate(const std::string& templateName) 224 { this->stoneTemplate_ = templateName; } 225 /** 226 @brief Get the template for the stones. 227 @return Returns the template name to be applied to each stone. 228 */ 229 const std::string& getStoneTemplate(void) const 230 { return this->stoneTemplate_; } 231 232 233 /** 234 @brief Set the template for the bricks. 235 @param templateName The template name to be applied to each brick. 236 */ 237 void setWallTemplate(const std::string& templateName) 238 { this->WallTemplate_ = templateName; } 239 240 /** 241 @brief Get the template for the bricks. 242 @return Returns the template name to be applied to each brick. 243 */ 244 const std::string& getWallTemplate(void) const 245 { return this->WallTemplate_; } 246 247 219 248 private: 220 249 void checkGametype(); //!< Checks whether the gametype is OrxoBlox and if it is, sets its centerpoint. … … 222 251 std::string balltemplate_; //!< The template for the ball. 223 252 std::string battemplate_; //!< The template for the bats. 253 std::string WallTemplate_; 254 std::string stoneTemplate_; 224 255 225 256 float ballspeed_; //!< The speed of then ball. … … 230 261 float width_; //!< The height of the playing field. 231 262 float height_; //!< The width of the playing field. 263 264 232 265 }; 233 266 }
Note: See TracChangeset
for help on using the changeset viewer.