AllegroFlare/Screens/GameOverScreen
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
event_emitter |
AllegroFlare::EventEmitter* |
font_bin |
AllegroFlare::FontBin* |
title_text |
std::string |
menu_options |
std::vector<std::pair<std::string, std::string>> |
on_menu_choice_callback_func |
std::function<void(AllegroFlare::Screens::GameOverScreen*, void*)> |
on_menu_choice_callback_func_user_data |
void* |
background |
AllegroFlare::Elements::Backgrounds::Base* |
cursor_position |
int |
title_font_name |
std::string |
title_font_size |
int |
menu_font_name |
std::string |
menu_font_size |
int |
DEFAULT_TITLE_TEXT |
std::string |
DEFAULT_MENU_OPTIONS |
std::vector<std::pair<std::string, std::string>> |
initialized |
bool |
Methods
set_menu_options(std::vector<std::pair<std::string, std::string>> menu_options={}) |
initialize() |
on_activate() |
on_deactivate() |
move_cursor_up() |
move_cursor_down() |
select_menu_option() |
primary_timer_func() |
render() |
draw_primary_text() |
draw_menu() |
infer_current_menu_option_value() |
infer_current_menu_option_label() |
obtain_title_font() |
obtain_menu_font() |
virtual_control_button_down_func(AllegroFlare::Player* player=nullptr, AllegroFlare::VirtualControllers::Base* virtual_controller=nullptr, int virtual_controller_button_num=0, bool is_repeat=false) |
Dependencies
{"symbol"=>"AllegroFlare::Screens::Base", "headers"=>["AllegroFlare/Screens/Base.hpp"]} |
{"symbol"=>"AllegroFlare::VirtualController", "headers"=>["AllegroFlare/VirtualController.hpp"]} |
{"symbol"=>"ALLEGRO_FONT", "headers"=>["allegro5/allegro_font.h"]} |
{"symbol"=>"AllegroFlare::FontBin", "headers"=>["AllegroFlare/FontBin.hpp"]} |
{"symbol"=>"AllegroFlare::EventEmitter", "headers"=>["AllegroFlare/EventEmitter.hpp"]} |
{"symbol"=>"AllegroFlare::Player", "headers"=>["AllegroFlare/Player.hpp"]} |
{"symbol"=>"AllegroFlare::VirtualControllers::Base", "headers"=>["AllegroFlare/VirtualControllers/Base.hpp"]} |
{"symbol"=>"AllegroFlare::VirtualControllers::GenericController", "headers"=>["AllegroFlare/VirtualControllers/GenericController.hpp"]} |
{"symbol"=>"AllegroFlare::Elements::Backgrounds::Base", "headers"=>["AllegroFlare/Elements/Backgrounds/Base.hpp"]} |
{"symbol"=>"AllegroFlare::Screens::GameOverScreen", "headers"=>["AllegroFlare/Screens/GameOverScreen.hpp"]} |
Sponsor
Get the best designed cat shirts at clubatt.com