3 #include <SFML/Graphics.hpp>
Class for the Splash Screen.
Definition: SplashScreen.hpp:13
sf::Sprite _logoSprite
Initial logo animation sprite.
Definition: SplashScreen.hpp:50
void update()
Update the Animation.
Definition: SplashScreen.cpp:50
SplashScreen(GameDataRef data)
Construct a new Splash Screen object.
Definition: SplashScreen.cpp:8
sf::Sprite _backgroundSprite
Initial background sprite.
Definition: SplashScreen.hpp:49
void draw()
Draw the Sprites.
Definition: SplashScreen.cpp:69
int _animationCounter
Counter for animation cycles.
Definition: SplashScreen.hpp:52
GameDataRef _data
Shared Pointer for all game data.
Definition: SplashScreen.hpp:47
int _spriteCounter
Counter for sprites.
Definition: SplashScreen.hpp:53
void handleInput()
Handle the user inputs.
Definition: SplashScreen.cpp:40
void init()
Initialize SplashScreen object.
Definition: SplashScreen.cpp:10
Abstract based class which inherits all the states of the game.
Definition: State.hpp:8
Custom namespace used throughout the project.
Definition: AboutState.cpp:6
std::shared_ptr< GameData > GameDataRef
The Shared Pointer of GameData Struct.
Definition: Game.hpp:39