Argentum Online - Cliente
creation_ui_event_handler.h
1 #ifndef __CREATION_UI_EVENT_HANDLER
2 #define __CREATION_UI_EVENT_HANDLER
3 
4 #include "../../engine/UI/text_input.h"
5 #include "../../game_state_monitor.h"
6 #include "go_back_button.h"
7 #include "race_and_class_selector.h"
8 #include "request_char_creation_button.h"
9 
16  TextInput& character_name_input;
17  RaceAndClassSelector& race_and_class_selector;
18  GoBackButton& go_back_button;
19  RequestCharacterCreationButton& req_char_creation_button;
20  GameStateMonitor& game_state_monitor;
21 
22  public:
33  TextInput& character_name_input,
34  RaceAndClassSelector& race_and_class_selector,
35  GoBackButton& go_back_button,
36  RequestCharacterCreationButton& req_char_creation_button,
37  GameStateMonitor& game_state_monitor);
39 
40  void handle();
41 };
42 
43 #endif
CreationUiEventHandler::CreationUiEventHandler
CreationUiEventHandler(TextInput &character_name_input, RaceAndClassSelector &race_and_class_selector, GoBackButton &go_back_button, RequestCharacterCreationButton &req_char_creation_button, GameStateMonitor &game_state_monitor)
Handler de eventos de la interfaz de usuario de la vista de juego.
Definition: creation_ui_event_handler.cpp:3
GoBackButton
Boton de "volver" de la pantalla de creacion de personajes.
Definition: go_back_button.h:11
RequestCharacterCreationButton
Boton de "Crear Personaje" en la vista de creacion de personaje.
Definition: request_char_creation_button.h:15
GameStateMonitor
Monitor mediante el cual se sincroniza el flujo entre vistas.
Definition: game_state_monitor.h:29
CreationUiEventHandler
Handler de eventos de usuario de la pantalla de creacion de personajes.
Definition: creation_ui_event_handler.h:15
RaceAndClassSelector
Wrapper del conjunto de botones de seleccion de raza y clase.
Definition: race_and_class_selector.h:13
TextInput
Input de texto.
Definition: text_input.h:14