Contains the data and functions for the Stymphalian Bird. More...
#include <EE_StyphBird.h>


Public Member Functions | |
| EE_StyphBird (C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, float *universalSpeed) | |
| Constructs the StyphBird object.  More... | |
| ~EE_StyphBird () | |
| Destructs the StyphBird object.  More... | |
| void | update (float dt) | 
| A function that updates the StyphBird.  More... | |
| void | setDeadStatus (bool dead) | 
| Sets the value of dead.  More... | |
| bool | getDeadStatus () | 
| Returns the value of dead.  More... | |
| void | setDeathParticles (bool deathParticles) | 
| Sets the value of deathParticles.  More... | |
| bool | getDeathParticles () | 
| Returns the value of deathParticles.  More... | |
| void | setCoinSpawn (bool coinSpawn) | 
| Sets the value of the coinSpawn boolean.  More... | |
| bool | getCoinSpawn () | 
| Gets the value of the coinSpawn boolean.  More... | |
  Public Member Functions inherited from EB_Velocity | |
| 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... | |
  Public Member Functions inherited from EB_Entity | |
| 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... | |
| virtual void | draw (SDL_Renderer *renderer) | 
| A virtual function that draws the Entity to the screen.  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... | |
Private Attributes | |
| bool | dead | 
| A boolean for if the StyphBird is dead and to be deleted.  More... | |
| bool | coinSpawn | 
| A boolean for if the StyphBird should turn into coins on death.  More... | |
| bool | deathParticles | 
| A boolean for if the StyphBird should spawn particles upon death.  More... | |
Additional Inherited Members | |
  Protected Attributes inherited from EB_Velocity | |
| C_Vec2 | velocities | 
| The velocities of the Entity.  More... | |
  Protected Attributes inherited from EB_Entity | |
| C_Texture * | sprite | 
| A pointer to the Entity Texture.  More... | |
| C_Vec2 | pos | 
| The position of the Entity.  More... | |
| C_Vec2 | dimensions | 
| The dimensions of the Entity.  More... | |
| std::string | iD | 
| The ID of the type of Entity.  More... | |
| float * | universalSpeed | 
| A pointer for the universal speed of the game.  More... | |
Contains the data and functions for the Stymphalian Bird.
| EE_StyphBird::EE_StyphBird | ( | C_Texture * | sprite, | 
| C_Vec2 | pos, | ||
| C_Vec2 | dimensions, | ||
| float * | universalSpeed | ||
| ) | 
Constructs the StyphBird object.
| sprite | A pointer to the objects Texture. | 
| pos | The position of the StyphBird. | 
| dimensions | The dimensions of the StyphBird. | 
| universalSpeed | A pointer for the universal speed of the game. | 
| EE_StyphBird::~EE_StyphBird | ( | ) | 
Destructs the StyphBird object.
| bool EE_StyphBird::getCoinSpawn | ( | ) | 
Gets the value of the coinSpawn boolean.
| bool EE_StyphBird::getDeadStatus | ( | ) | 
Returns the value of dead.
| bool EE_StyphBird::getDeathParticles | ( | ) | 
Returns the value of deathParticles.
| void EE_StyphBird::setCoinSpawn | ( | bool | coinSpawn | ) | 
Sets the value of the coinSpawn boolean.
| coinSpawn | The new value of coinSpawn. | 

| void EE_StyphBird::setDeadStatus | ( | bool | dead | ) | 
Sets the value of dead.
| dead | The new value of dead. | 

| void EE_StyphBird::setDeathParticles | ( | bool | deathParticles | ) | 
Sets the value of deathParticles.
| deathParticles | The new value of deathParticles. | 

      
  | 
  virtual | 
A function that updates the StyphBird.
| dt | The delta time. | 
Implements EB_Velocity.

      
  | 
  private | 
A boolean for if the StyphBird should turn into coins on death.
      
  | 
  private | 
A boolean for if the StyphBird is dead and to be deleted.
      
  | 
  private | 
A boolean for if the StyphBird should spawn particles upon death.
 1.8.8