35 #ifndef _TetrisCenterpoint_H__ 36 #define _TetrisCenterpoint_H__ 71 { this->width_ = width; }
77 {
return this->width_; }
84 { this->height_ = height; }
90 {
return this->height_; }
97 { this->stoneSize_ = size; }
103 {
return this->stoneSize_; }
110 { this->stoneTemplate_ = templateName; }
116 {
return this->stoneTemplate_; }
123 { this->brickTemplate_ = templateName; }
129 {
return this->brickTemplate_; }
136 { this->stoneSpeed_ = speed; }
142 {
return this->stoneSpeed_; }
145 void checkGametype();
float stoneSize_
Definition: TetrisCenterpoint.h:149
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
void setStoneSpeed(float speed)
Set the speed of the stones.
Definition: TetrisCenterpoint.h:135
::std::string string
Definition: gtest-port.h:756
float getStoneSpeed(void)
Get the speed of the stones.
Definition: TetrisCenterpoint.h:141
float stoneSpeed_
Definition: TetrisCenterpoint.h:152
void setStoneTemplate(const std::string &templateName)
Set the template for the stones.
Definition: TetrisCenterpoint.h:109
Shared library macros, enums, constants and forward declarations for the tetris module ...
const std::string & getBrickTemplate(void) const
Get the template for the bricks.
Definition: TetrisCenterpoint.h:128
Definition: TetrisCenterpoint.h:58
xmlelement
Definition: Super.h:519
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
virtual ~TetrisCenterpoint()
Definition: TetrisCenterpoint.h:62
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
unsigned int width_
Definition: TetrisCenterpoint.h:147
void setBrickTemplate(const std::string &templateName)
Set the template for the bricks.
Definition: TetrisCenterpoint.h:122
std::string brickTemplate_
Definition: TetrisCenterpoint.h:151
const std::string & getStoneTemplate(void) const
Get the template for the stones.
Definition: TetrisCenterpoint.h:115
std::string stoneTemplate_
Definition: TetrisCenterpoint.h:150
float getStoneSize(void) const
Get the size of a single stone.
Definition: TetrisCenterpoint.h:102
void setStoneSize(float size)
Set the size of a single stone.
Definition: TetrisCenterpoint.h:96
#define _TetrisExport
Definition: TetrisPrereqs.h:58
void setWidth(unsigned int width)
Set the width of the playing field.
Definition: TetrisCenterpoint.h:70
unsigned int getHeight(void) const
Get the height of the playing field.
Definition: TetrisCenterpoint.h:89
void setHeight(unsigned int height)
Set the height of the playing field.
Definition: TetrisCenterpoint.h:83
unsigned int getWidth(void) const
Get the width of the playing field.
Definition: TetrisCenterpoint.h:76
unsigned int height_
Definition: TetrisCenterpoint.h:148