The Loading screen.
More...
#include <loading_view.h>
The Loading screen.
The Loading screen loads the game resources and shows the progress in doing so.
◆ loading_view()
| loading_view::loading_view |
( |
| ) |
|
◆ draw_impl()
| void loading_view::draw_impl |
( |
| ) |
|
|
overridevirtual |
Displays this window.
Implements view.
◆ process_event_impl()
| bool loading_view::process_event_impl |
( |
sf::Event & |
event | ) |
|
|
overridevirtual |
Process an event.
- Returns
- true if the user wants to quit the program
Implements view.
◆ process_resize_event_impl()
| void loading_view::process_resize_event_impl |
( |
sf::Event & |
event | ) |
|
|
overridevirtual |
Process a resize event.
Implements view.
◆ set_text_style()
| void loading_view::set_text_style |
( |
sf::Text & |
t | ) |
|
Set the text to a uniform style.
◆ start_impl()
| void loading_view::start_impl |
( |
| ) |
|
|
overridevirtual |
Prepare this window for being shown.
Implements view.
◆ stop_impl()
| void loading_view::stop_impl |
( |
| ) |
|
|
overridevirtual |
End displaying this class.
Implements view.
◆ tick_impl()
| void loading_view::tick_impl |
( |
const delta_t |
dt | ) |
|
|
overridevirtual |
Go to the next state (if any).
For this screen, the textures are loaded.
Implements view.
The documentation for this class was generated from the following files: