Subwidget for selecting player name and color. Used by Multiplayer and
Singleplayer menu.
|
|
|
set_color(self,
color_id)
Updates the background color of large label where players see their
currently chosen color. |
source code
|
|
|
set_player_name(self,
playername)
Updates the player name |
source code
|
|
|
get_player_name(self)
Returns the name that was entered by the user |
source code
|
|
|
get_player_color(self)
Returns the color that the player selected as Color obj |
source code
|
|
|
|
|
update_data(self)
Update the player's name and color from the settings |
source code
|
|
|
save_settings(self)
Stores the current player_name and color into settings |
source code
|
|