The BrickOut |ReDuX| defualt paddle. More...
#include <Game/Paddle.h>
Inherits Paddle.
Public Member Functions | |
| DefaultPaddle (const GameSettings &settings) | |
| Constructor. | |
| virtual | ~DefaultPaddle () |
| Deconstructor. | |
| virtual void | Grow () |
| Grows the size of the paddle. | |
| virtual void | Shrink () |
| Shrinks the size of the paddle. | |
| virtual void | Update (float dt, const IKeyboard &kb, const IMouse &mouse) |
| Updates tha game paddle. | |
| virtual void | Draw () |
| Draws the paddle. | |
| virtual void | Reset () |
| Resets the paddle to its default state. | |
Protected Member Functions | |
| virtual void | OnAttachBall () |
| Called when a ball is attched to the paddle. | |
| virtual void | OnDetachBall () |
| Called when a ball is detached from the paddle. | |
The BrickOut |ReDuX| defualt paddle.
| DefaultPaddle::DefaultPaddle | ( | const GameSettings & | settings | ) |
Constructor.
| [in] | settings | game settings that define attributes of the paddle. |
Updates tha game paddle.
| [in] | dt | the time in seconds since the last frame. |
| [in] | kb | the keyboard. |
| [in] | mouse | the mouse. |
Reimplemented from Paddle.
1.6.3