4 #include "../Base/EB_VelocityAnimated.h"
5 #include "../../Core/C_Vec2.h"
6 #include "../../Core/C_Timer.h"
bool deathParticles
A boolean for if the StormCloud should spawn particles upon death.
Definition: EE_StormCloud.h:69
bool getDeadStatus()
Returns the value of dead.
Definition: EE_StormCloud.cpp:47
bool getDeathParticles()
Returns the value of deathParticles.
Definition: EE_StormCloud.cpp:57
void setDeathParticles(bool deathParticles)
Sets the value of deathParticles.
Definition: EE_StormCloud.cpp:52
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
EE_StormCloud(C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, float *universalSpeed)
Constructs the StormCloud object.
Definition: EE_StormCloud.cpp:3
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
Contains the data and functions for the Storm Cloud.
Definition: EE_StormCloud.h:12
An Entity that contains velocities and uses a spritesheet for animation.
Definition: EB_VelocityAnimated.h:10
bool dead
A boolean for if the StormCloud is dead and to be deleted.
Definition: EE_StormCloud.h:67
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
~EE_StormCloud()
Destructs the StormCloud object.
Definition: EE_StormCloud.cpp:22
void setDeadStatus(bool dead)
Sets the value of dead.
Definition: EE_StormCloud.cpp:42
void update(float dt)
A function that updates the StormCloud.
Definition: EE_StormCloud.cpp:26
C_Vec2 getCloudDim()
Returns the value of the clouds dimensions (Not including lighting).
Definition: EE_StormCloud.cpp:62
C_Vec2 cloudDim
The dimensions of the actual cloud, not the cloud sprite (including lightning) dimensions.
Definition: EE_StormCloud.h:71
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
void animate(float dt)
Animates the sprite of the storm cloud.
Definition: EE_StormCloud.cpp:67