35 #ifndef _TetrisStone_H__    36 #define _TetrisStone_H__    59             virtual void moveFrontBack(
const Vector2& value); 
    60             virtual void moveRightLeft(
const Vector2& value); 
    62             virtual void changedPlayer(); 
    69                 { this->size_ = size; }
    75                 { 
return this->size_; }
    78                 { assert(tetris); tetris_ = tetris; }
    82                 { this->delay_ = 
false; }
    84                 { this->lockRotation_ = 
false; }
 Timer delayTimer_
Definition: TetrisStone.h:89
 
void enableMovement(void)
Definition: TetrisStone.h:81
 
void unlockRotation(void)
Definition: TetrisStone.h:83
 
void setGame(Tetris *tetris)
Definition: TetrisStone.h:77
 
Definition: MovableEntity.h:42
 
bool lockRotation_
Definition: TetrisStone.h:88
 
Shared library macros, enums, constants and forward declarations for the tetris module  ...
 
Timer rotationTimer_
Definition: TetrisStone.h:90
 
Declaration of the Timer class, used to call functions after a given time-interval. 
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
float size_
The dimensions a stone has in the game world. 
Definition: TetrisStone.h:86
 
bool delay_
Definition: TetrisStone.h:87
 
Definition: TetrisStone.h:53
 
#define _TetrisExport
Definition: TetrisPrereqs.h:58
 
float getSize(void) const 
Get the size of the stone. 
Definition: TetrisStone.h:74
 
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
 
Tetris * tetris_
!< This timer is used to filter out multiple rotation inputs. 
Definition: TetrisStone.h:92
 
void setSize(float size)
Set the size of the stone. 
Definition: TetrisStone.h:68
 
virtual ~TetrisStone()
Definition: TetrisStone.h:57