4 #include "../Base/EB_Velocity.h"
5 #include "../../Core/C_Vec2.h"
bool getDeathParticles()
Returns the value of deathParticles.
Definition: EE_StyphBird.cpp:41
bool coinSpawn
A boolean for if the StyphBird should turn into coins on death.
Definition: EE_StyphBird.h:74
EE_StyphBird(C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, float *universalSpeed)
Constructs the StyphBird object.
Definition: EE_StyphBird.cpp:3
void update(float dt)
A function that updates the StyphBird.
Definition: EE_StyphBird.cpp:13
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
An Entity that contains velocities.
Definition: EB_Velocity.h:10
~EE_StyphBird()
Destructs the StyphBird object.
Definition: EE_StyphBird.cpp:9
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
bool getCoinSpawn()
Gets the value of the coinSpawn boolean.
Definition: EE_StyphBird.cpp:51
bool deathParticles
A boolean for if the StyphBird should spawn particles upon death.
Definition: EE_StyphBird.h:76
void setCoinSpawn(bool coinSpawn)
Sets the value of the coinSpawn boolean.
Definition: EE_StyphBird.cpp:46
C_Vec2 pos
The position of the Entity.
Definition: EB_Entity.h:92
C_Texture * sprite
A pointer to the Entity Texture.
Definition: EB_Entity.h:90
bool dead
A boolean for if the StyphBird is dead and to be deleted.
Definition: EE_StyphBird.h:72
bool getDeadStatus()
Returns the value of dead.
Definition: EE_StyphBird.cpp:31
float * universalSpeed
A pointer for the universal speed of the game.
Definition: EB_Entity.h:98
Contains the data and functions for the Stymphalian Bird.
Definition: EE_StyphBird.h:11
void setDeadStatus(bool dead)
Sets the value of dead.
Definition: EE_StyphBird.cpp:26
void setDeathParticles(bool deathParticles)
Sets the value of deathParticles.
Definition: EE_StyphBird.cpp:36
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13