controller_base framework: controller_base is roughly analogous to a "dialog" class in a GUI toolkit which is appropriate for deriving wesnoth game modes, e.g. More...
#include "events.hpp"
#include "hotkey/hotkey_command.hpp"
#include "key.hpp"
#include "quit_confirmation.hpp"
#include <chrono>
Go to the source code of this file.
Classes | |
class | controller_base |
class | controller_base::keyup_listener |
Namespaces | |
events | |
Handling of system events. | |
hotkey | |
Keyboard shortcuts for game actions. | |
soundsource | |
controller_base framework: controller_base is roughly analogous to a "dialog" class in a GUI toolkit which is appropriate for deriving wesnoth game modes, e.g.
single player mode, multiplayer mode, replay mode, editor mode.
It provides implementation details for:
Other than this it functions as an abstract interface, enforcing that controllers derive from events::sdl_handler, hotkey_command_executor, and provide some accessors needed for event handling.
Definition in file controller_base.hpp.