![]() |
Conquer Chess
Chess and Starcraft combined
|
Dialog to view a played Conquer Chess game. More...
#include <replay_view.h>


Public Member Functions | |
| replay_view () | |
| void | draw_impl () override |
| Draw the menu on the main window. | |
| bool | process_event_impl (sf::Event &e) override |
| Process an event. | |
| void | process_resize_event_impl (sf::Event &event) override |
| Process a resize event. | |
| void | set_replay (const replay &r) |
| void | start_impl () override |
| Prepare this window for being shown. | |
| void | stop_impl () override |
| Clean up after this window has been shown. | |
| void | tick_impl (const delta_t dt) override |
| Run the game, until the user quits. | |
| const auto & | get_game () const noexcept |
| const auto & | get_layout () const noexcept |
| const auto & | get_replayer () const noexcept |
| The played game. | |
| const auto & | get_statistics () const noexcept |
Public Member Functions inherited from view | |
| view () | |
| virtual | ~view () |
| void | clear_next_state () |
| Clear the next state. | |
| void | draw () |
| Draw the menu on the main window. | |
| const auto & | get_next_state () const noexcept |
| The next state to go to, if any. | |
| bool | is_active () const noexcept |
| Is this window active? | |
| bool | process_event (sf::Event &e) |
| Process an event. | |
| void | process_resize_event (sf::Event &event) |
| Process a resize event. | |
| void | set_is_active (const bool is_active) |
| Set if this window is active. | |
| void | set_next_state (const program_state next_state) |
| Set the next state to go to. | |
| void | start () |
| Prepare this window for being shown. | |
| void | stop () |
| Clean up after this window has been shown. | |
| void | tick (const delta_t dt) |
| Run the game, until the user quits. | |
Dialog to view a played Conquer Chess game.
| replay_view::replay_view | ( | ) |
|
overridevirtual |
Draw the menu on the main window.
Implements view.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
The played game.
|
inlinenoexcept |
|
overridevirtual |
Process an event.
Implements view.
|
overridevirtual |
Process a resize event.
Implements view.
| void replay_view::set_replay | ( | const replay & | r | ) |
|
overridevirtual |
Prepare this window for being shown.
Implements view.
|
overridevirtual |
Clean up after this window has been shown.
Implements view.
|
overridevirtual |
Run the game, until the user quits.
Implements view.