Derived class of State class with visibility mode public that includes the functionality of menuscreen.
More...
#include <MenuScreen.hpp>
Derived class of State class with visibility mode public that includes the functionality of menuscreen.
◆ MenuScreen()
Construct a new Menu Screen object.
- Parameters
-
◆ animate()
virtual void HeadBall::State::animate |
( |
| ) |
|
|
inlinevirtualinherited |
Vitrual function for performing animations.
◆ draw()
void HeadBall::MenuScreen::draw |
( |
| ) |
|
|
virtual |
Draw all the SFML objects in the rendering window.
Implements HeadBall::State.
◆ handleInput()
void HeadBall::MenuScreen::handleInput |
( |
| ) |
|
|
virtual |
◆ init()
void HeadBall::MenuScreen::init |
( |
| ) |
|
|
virtual |
◆ pause()
virtual void HeadBall::State::pause |
( |
| ) |
|
|
inlinevirtualinherited |
◆ resume()
virtual void HeadBall::State::resume |
( |
| ) |
|
|
inlinevirtualinherited |
◆ update()
void HeadBall::MenuScreen::update |
( |
| ) |
|
|
virtual |
◆ _aboutBtn
sf::Sprite HeadBall::MenuScreen::_aboutBtn |
|
private |
The sprite object for "About" button.
◆ _background
sf::Sprite HeadBall::MenuScreen::_background |
|
private |
The sprite object for background of Menu screen.
◆ _btnClickSfx
sf::Sound HeadBall::MenuScreen::_btnClickSfx |
|
private |
The sound object for sfx while clicking any button.
◆ _data
◆ _exitBtn
sf::Sprite HeadBall::MenuScreen::_exitBtn |
|
private |
The sprite object for "exit" button.
◆ _instructionsBtn
sf::Sprite HeadBall::MenuScreen::_instructionsBtn |
|
private |
The sprite object for "Instruction" button.
◆ _playBtn
sf::Sprite HeadBall::MenuScreen::_playBtn |
|
private |
The sprite object for "play" button.
◆ _scoreTime
◆ _text
sf::Text HeadBall::MenuScreen::_text |
|
private |
The text object for text in Menu screen.
◆ _theme
sf::Music HeadBall::MenuScreen::_theme |
|
private |
The music object for theme music.
The documentation for this class was generated from the following files: