#include <Powerup.h>
Public Member Functions | |
Powerup (void) | |
Powerup (VECTOR3D, bool, bool, bool, int) | |
void | Render (void) |
~Powerup (void) | |
Public Attributes | |
int | type |
float | timer |
float | speedStack |
float | size |
float | speed |
float | duration |
int | score |
VECTOR3D | position |
VECTOR3D | direction |
bool | empty |
Private Attributes | |
GLuint | texture |
int | prob |
Powerup::Powerup | ( | void | ) |
default constructor for the powerup
Powerup::Powerup | ( | VECTOR3D | positionIn, | |
bool | powerup5, | |||
bool | powerup6, | |||
bool | powerup7, | |||
int | superDuper | |||
) |
constructor for the powerup with position and powerupstates
Powerup::~Powerup | ( | void | ) |
powerup destructor
void Powerup::Render | ( | void | ) |
powerup rendermethod
int Powerup::type |
float Powerup::timer |
float Powerup::speedStack |
float Powerup::size |
float Powerup::speed |
float Powerup::duration |
int Powerup::score |
VECTOR3D Powerup::position |
VECTOR3D Powerup::direction |
bool Powerup::empty |
GLuint Powerup::texture [private] |
int Powerup::prob [private] |