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 "global.hpp"
#include "events.hpp"
#include "hotkey/hotkey_command.hpp"
#include "joystick.hpp"
#include "key.hpp"
#include "video.hpp"
#include "quit_confirmation.hpp"
Go to the source code of this file.
Classes | |
class | controller_base |
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.