AllegroFlare/Screens/GameWonScreen
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
event_emitter |
AllegroFlare::EventEmitter* |
font_bin |
AllegroFlare::FontBin* |
title_text |
std::string |
on_submit_callback_func |
std::function<void(AllegroFlare::Screens::GameWonScreen*, void*)> |
on_submit_callback_func_user_data |
void* |
background |
AllegroFlare::Elements::Backgrounds::Base* |
title_font_name |
std::string |
title_font_size |
int |
instruction_text |
std::string |
instruction_font_name |
std::string |
instruction_font_size |
int |
game_event_name_to_emit_on_submission |
std::string |
DEFAULT_TITLE_TEXT |
std::string |
DEFAULT_INSTRUCTION_TEXT |
std::string |
Methods
on_activate() |
on_deactivate() |
primary_timer_func() |
render() |
draw_primary_text() |
draw_instruction_text() |
obtain_title_font() |
obtain_instruction_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"=>"ALLEGRO_FLARE_EVENT_START_TITLE_SCREEN", "headers"=>["AllegroFlare/EventNames.hpp"]} |
{"symbol"=>"std::vector<std::pair<std::string, std::string>>", "headers"=>["vector", "utility", "string"]} |
{"symbol"=>"AllegroFlare::Screens::Base", "headers"=>["AllegroFlare/Screens/Base.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::GameWonScreen", "headers"=>["AllegroFlare/Screens/GameWonScreen.hpp"]} |
Sponsor
Grab cute Cat stickers for your laptop at CLUBCATT