FlagSprite Class Reference

Colored flag. More...

#include <FlagSprite.h>

Inheritance diagram for FlagSprite:

Inheritance graph
[legend]
Collaboration diagram for FlagSprite:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FlagSprite ()
virtual void paint ()
 Draw this sprite on screen.
virtual void update ()
 Update this sprite's pysics and stuff.

Public Attributes

GLfloat color [4]
float size
float start_point
float granularity
float speed

Detailed Description

Colored flag.

Deprecated:
Not used anymore.


Constructor & Destructor Documentation

FlagSprite::FlagSprite (  ) 


Member Function Documentation

virtual void FlagSprite::paint (  )  [virtual]

Draw this sprite on screen.

The paint method is allowed to change the model-view matrix and any pushable attributes.

Implements Sprite.

virtual void FlagSprite::update (  )  [virtual]

Update this sprite's pysics and stuff.

Note that the update method should use the static dTime variable to check the time since last invokation. The caller is responsible for setting this variable to an apropriate value!

Implements Sprite.


Member Data Documentation

GLfloat FlagSprite::color[4]

float FlagSprite::granularity

float FlagSprite::size

float FlagSprite::speed

float FlagSprite::start_point


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7