19#ifndef PLAYER_KART_WIDGET_HPP
20#define PLAYER_KART_WIDGET_HPP
22#include "guiengine/widgets/spinner_widget.hpp"
23#include "states_screens/state_manager.hpp"
24#include <IGUIStaticText.h>
33 class PlayerNameSpinner;
34 class KartStatsWidget;
35 class ModelViewWidget;
50 int model_x, model_y, model_w, model_h;
51 int kart_name_x, kart_name_y, kart_name_w, kart_name_h;
52 int m_kart_stats_x, m_kart_stats_y, m_kart_stats_w, m_kart_stats_h;
60 float x_speed, y_speed, w_speed, h_speed;
87 irr::gui::IGUIStaticText* m_ready_text;
89 core::stringw deviceName;
90 std::
string m_kart_internal_name;
92 bool m_not_updated_yet;
96 core::recti area, const
int player_id,
97 std::
string kart_group,
98 const
int irrlicht_idget_id=-1);
124 void move(
const int x,
const int y,
const int w,
const int h);
146 const std::string& originator,
147 const int m_player_id);
152 void setSize(
const int x,
const int y,
const int w,
const int h);
161 const std::string& getKartInternalName()
const;
168 void enableHandicapForNetwork();
A small extension to the spinner widget to add features like player ID management or badging.
Definition: player_name_spinner.hpp:32
screen where players can choose their kart
Definition: kart_selection.hpp:51
Represents a player that is currently playing.
Definition: state_manager.hpp:76
A concrete scene manager, derived from GUIEngine's AbastractSceneManager.
Definition: state_manager.hpp:60
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33
HandicapLevel
Handicap per player.
Definition: remote_kart_info.hpp:42