18#ifndef SELECT_CHALLENGE_HPP
19#define SELECT_CHALLENGE_HPP
21#include "challenges/challenge_status.hpp"
22#include "guiengine/event_handler.hpp"
23#include "guiengine/modaldialog.hpp"
24#include "race/race_manager.hpp"
33 bool m_self_destroy =
false;
34 std::string m_challenge_id;
36 const char* widget_name,
const char* path);
40 std::string challenge_id);
43 virtual GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
The state of a challenge for one player.
Definition: challenge_status.hpp:53
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
Difficulty
Game difficulty.
Definition: race_manager.hpp:230
Dialog shown when starting a challenge.
Definition: select_challenge.hpp:31
virtual void onUpdate(float dt)
Override to be notified of updates.
Definition: select_challenge.cpp:224
virtual GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: select_challenge.cpp:236