5 #include "../Core/C_Texture.h"
38 void draw(SDL_Renderer* renderer);
~B_BackgroundManager()
Destructs the Background Manager.
Definition: B_BackgroundManager.cpp:18
B_Background * bottomBackgroundLayer
The bottom background layer backgrounds.
Definition: B_BackgroundManager.h:44
C_Texture * background[3]
The Background images.
Definition: B_BackgroundManager.h:42
An object for a background layer that inherits Velocity Entity.
Definition: B_Background.h:10
void draw(SDL_Renderer *renderer)
A function to draw the Backgrounds to the screen.
Definition: B_BackgroundManager.cpp:49
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
B_BackgroundManager(SDL_Renderer *renderer, C_Vec2 dimensions, float *universalSpeed)
Constructs the Background Manager.
Definition: B_BackgroundManager.cpp:3
B_Background * topBackgroundLayer[2]
The top background layer backgrounds.
Definition: B_BackgroundManager.h:48
Contains the functions to manage the background objects.
Definition: B_BackgroundManager.h:12
float * universalSpeed
A pointer for the universal speed of the game.
Definition: B_BackgroundManager.h:50
B_Background * middleBackgroundLayer[2]
The middle background layer backgrounds.
Definition: B_BackgroundManager.h:46
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13
void update(float dt)
A function to update the Backgrounds.
Definition: B_BackgroundManager.cpp:36