18#ifndef HEADER_SOCCER_SETUP_SCREEN_HPP
19#define HEADER_SOCCER_SETUP_SCREEN_HPP
21#include "guiengine/screen.hpp"
24namespace GUIEngine {
class Widget;
class LabelWidget;
class ModelViewWidget; }
41 bool support_colorization;
44 KartViewInfo() : view(), confirmed(
false), support_colorization(
false),
45 team(KART_TEAM_NONE) {}
48 AlignedArray<KartViewInfo> m_kart_view_info;
50 bool m_schedule_continue;
59 const
int playerID) OVERRIDE;
65 virtual
void init() OVERRIDE;
70 virtual
void onUpdate(
float delta) OVERRIDE;
75 const
unsigned int value,
76 Input::InputType type,
77 int playerId) OVERRIDE;
82 bool areAllKartsConfirmed() const;
83 int getNumConfirmedKarts();
84 void updateKartViewsLayout();
85 void changeTeam(
int player_id, KartTeam team);
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
Screen with soccer setup options.
Definition: soccer_setup_screen.hpp:32
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:204
virtual void beforeAddingWidget() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:111
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:56
virtual void onUpdate(float delta) OVERRIDE
optional callback you can override to be notified at every frame.
Definition: soccer_setup_screen.cpp:388
virtual void tearDown() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:224
virtual bool onEscapePressed() OVERRIDE
Called when escape is pressed.
Definition: soccer_setup_screen.cpp:487
virtual GUIEngine::EventPropagation filterActions(PlayerAction action, int deviceID, const unsigned int value, Input::InputType type, int playerId) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:275
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: soccer_setup_screen.cpp:61
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33
Definition: soccer_setup_screen.hpp:38