Sky Zone Omega - PC Version
 All Classes Namespaces Files Functions Variables Macros
EPU_Health.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SDL.h>
4 #include "EPU_Pickup.h"
5 #include "../../Core/C_Vec2.h"
6 
11 class EPU_Health : public EPU_Pickup
12 {
13 public:
25 
29  ~EPU_Health();
30 
35  void draw(SDL_Renderer* renderer);
36 };
Contains the data and functions for the Health pickup.
Definition: EPU_Health.h:11
EPU_Health(C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, C_Vec2 screenDimensions, C_Vec2 velocities, float *universalSpeed)
Constructs the Health object.
Definition: EPU_Health.cpp:3
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
~EPU_Health()
Destructs the Health object.
Definition: EPU_Health.cpp:9
C_Vec2 velocities
The velocities of the Entity.
Definition: EB_Velocity.h:55
C_Vec2 pos
The position of the Entity.
Definition: EB_Entity.h:92
void draw(SDL_Renderer *renderer)
Draws the health to the screen.
Definition: EPU_Health.cpp:13
C_Texture * sprite
A pointer to the Entity Texture.
Definition: EB_Entity.h:90
float * universalSpeed
A pointer for the universal speed of the game.
Definition: EB_Entity.h:98
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13
Contains the data and functions for the Pickup object.
Definition: EPU_Pickup.h:11