Class for About page.
More...
#include <AboutState.hpp>
◆ AboutState()
Construct a new About State object.
- Parameters
-
data | Shared pointer for game data |
◆ animate()
virtual void HeadBall::State::animate |
( |
| ) |
|
|
inlinevirtualinherited |
Vitrual function for performing animations.
◆ draw()
void HeadBall::AboutState::draw |
( |
| ) |
|
|
virtual |
◆ handleInput()
void HeadBall::AboutState::handleInput |
( |
| ) |
|
|
virtual |
◆ init()
void HeadBall::AboutState::init |
( |
| ) |
|
|
virtual |
◆ pause()
virtual void HeadBall::State::pause |
( |
| ) |
|
|
inlinevirtualinherited |
◆ resume()
virtual void HeadBall::State::resume |
( |
| ) |
|
|
inlinevirtualinherited |
◆ update()
void HeadBall::AboutState::update |
( |
| ) |
|
|
virtual |
◆ _backBtn
sf::Sprite HeadBall::AboutState::_backBtn |
|
private |
◆ _background
sf::Sprite HeadBall::AboutState::_background |
|
private |
Background sprite to draw on the screen.
◆ _btnClickSfx
sf::Sound HeadBall::AboutState::_btnClickSfx |
|
private |
Sound effect for button click.
◆ _data
The shared pointer for all the game data.
◆ _exitBtn
sf::Sprite HeadBall::AboutState::_exitBtn |
|
private |
Button to exit from the game.
◆ _text
sf::Text HeadBall::AboutState::_text |
|
private |
Text to display about
information.
The documentation for this class was generated from the following files: