StarFieldEffect Class Reference

A moving starfield background effect. More...

#include <Game/StarFieldEffect.h>

Inherits BackgroundEffect.

List of all members.

Public Member Functions

 StarFieldEffect (const Rectf &size)
 Constructor.
virtual ~StarFieldEffect ()
 Deconstructor.
virtual bool Init ()
 Initializes the effect. Called once before Update and Draw are called.
virtual void Update (float dt)
 Updates the effect. Called once per frame.
virtual void Draw ()
 Draws the effect.

Detailed Description

A moving starfield background effect.


Constructor & Destructor Documentation

StarFieldEffect::StarFieldEffect ( const Rectf size  )  [inline]

Constructor.

Parameters:
[in] size the that the effect will fill.

Member Function Documentation

bool StarFieldEffect::Init (  )  [virtual]

Initializes the effect. Called once before Update and Draw are called.

Returns:
true if the initialization was successful, false otherwise.

Implements BackgroundEffect.

void StarFieldEffect::Update ( float  dt  )  [virtual]

Updates the effect. Called once per frame.

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

Implements BackgroundEffect.


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