yracing.race.gui package

Submodules

yracing.race.gui.countdown module

class yracing.race.gui.countdown.Countdown(sfx_path, font, seconds)[source]

Bases: yyagl.gameobject.GameObject

destroy()[source]
process_countdown()[source]

yracing.race.gui.gui module

class yracing.race.gui.gui.RaceGui(mediator, rprops, players)[source]

Bases: yyagl.gameobject.GuiColleague, yracing.race.gui.gui.RaceGuiFacade

destroy()[source]
result_cls

alias of yracing.race.gui.results.Results

start()[source]
class yracing.race.gui.gui.RaceGuiFacade[source]

Bases: object

update_minimap(positions)[source]
class yracing.race.gui.gui.RaceGuiServer(mediator, rprops, players)[source]

Bases: yracing.race.gui.gui.RaceGui

result_cls

alias of yracing.race.gui.results.ResultsServer

yracing.race.gui.minimap module

class yracing.race.gui.minimap.Minimap(bounds, track_img, handle_img, col_dct, cars, player_car)[source]

Bases: yyagl.gameobject.GameObject

destroy()[source]
update(car_info)[source]

yracing.race.gui.results module

class yracing.race.gui.results.Results(rprops)[source]

Bases: yyagl.gameobject.GameObject

destroy()[source]
show(race_ranking, lap_times, players)[source]
class yracing.race.gui.results.ResultsServer(rprops)[source]

Bases: yracing.race.gui.results.Results

show(race_ranking, lap_times, players)[source]
show_continue_btn()[source]

Module contents