|
| EPU_Health (C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, C_Vec2 screenDimensions, C_Vec2 velocities, float *universalSpeed) |
| Constructs the Health object. More...
|
|
| ~EPU_Health () |
| Destructs the Health object. More...
|
|
void | draw (SDL_Renderer *renderer) |
| Draws the health to the screen. More...
|
|
| EPU_Pickup (C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, C_Vec2 screenDimensions, C_Vec2 velocities, std::string iD, float *universalSpeed) |
| Constructs the Pickup object. More...
|
|
| ~EPU_Pickup () |
| Destructs the Pickup object. More...
|
|
void | update (float dt) |
| A function that updates the Pickup. More...
|
|
void | setDeadStatus (bool dead) |
| Sets the value of dead. More...
|
|
bool | getDeadStatus () |
| Returns the value of dead. More...
|
|
| EB_Velocity (C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, C_Vec2 velocities, std::string iD, float *universalSpee) |
| Constructs the Velocity Entity. More...
|
|
| ~EB_Velocity () |
| Destructs the Velocity Entity object. More...
|
|
void | updatePosWithVelocities (float dt) |
| Updates the position of the Entity using the velocities. More...
|
|
void | setVelocities (C_Vec2 velocity) |
| Sets the velocities of the Entity. More...
|
|
C_Vec2 | getVelocities () |
| Gets the velocities of the Entity. More...
|
|
| EB_Entity (C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, std::string iD, float *universalSpeed) |
| Constructs the Entity object. More...
|
|
| ~EB_Entity () |
| Destructs the Entity object. More...
|
|
void | setPosition (C_Vec2 pos) |
| Sets the position of the Entity. More...
|
|
void | setX (float x) |
| Sets the x position of the Entity. More...
|
|
void | setY (float y) |
| Sets the y position of the Entity. More...
|
|
void | setDimensions (C_Vec2 dimensions) |
| Sets the dimensions of the Entity. More...
|
|
void | setWidth (float width) |
| Sets the width of the Entity. More...
|
|
void | setHeight (float height) |
| Sets the height of the Entity. More...
|
|
C_Vec2 | getPosition () |
| Gets the position of the Entity. More...
|
|
C_Vec2 | getDimensions () |
| Gets the dimensions of the Entity. More...
|
|
Contains the data and functions for the Health pickup.
- Author
- Jamie Slowgrove