#include <FlagSprite.h>
Inheritance diagram for FlagSprite:
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 |
| FlagSprite::FlagSprite | ( | ) |
| 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.
| GLfloat FlagSprite::color[4] |
| float FlagSprite::granularity |
| float FlagSprite::size |
| float FlagSprite::speed |
| float FlagSprite::start_point |
1.4.7