DefaultPaddle Class Reference

The BrickOut |ReDuX| defualt paddle. More...

#include <Game/Paddle.h>

Inherits Paddle.

List of all members.

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.

Detailed Description

The BrickOut |ReDuX| defualt paddle.


Constructor & Destructor Documentation

DefaultPaddle::DefaultPaddle ( const GameSettings settings  ) 

Constructor.

Parameters:
[in] settings game settings that define attributes of the paddle.

Member Function Documentation

void DefaultPaddle::Update ( float  dt,
const IKeyboard kb,
const IMouse mouse 
) [virtual]

Updates tha game paddle.

Parameters:
[in] dt the time in seconds since the last frame.
[in] kb the keyboard.
[in] mouse the mouse.

Reimplemented from Paddle.


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 19:08:05 2010 for BrickOut |ReDuX| by  doxygen 1.6.3