yracing.ranking package

Submodules

yracing.ranking.gui module

class yracing.ranking.gui.RankingGui(mediator, background_fpath, font, fg_col)[source]

Bases: yyagl.gameobject.GuiColleague

attach_obs(mth)[source]
destroy()[source]
detach_obs(mth)[source]
hide()[source]
static set_drv_txt_img(page, i, car_name, pos_x, top, text, players)[source]
show(rprops, sprops, ranking, players)[source]
class yracing.ranking.gui.RankingMenu(rprops, sprops, ranking, players)[source]

Bases: yyagl.gameobject.GameObject

attach_obs(mth)[source]
destroy()[source]
detach_obs(mth)[source]
gui_cls

alias of RankingMenuGui

class yracing.ranking.gui.RankingMenuGui(mediator, rprops, sprops, ranking, players)[source]

Bases: yyagl.gameobject.GuiColleague

destroy()[source]
class yracing.ranking.gui.RankingPage(rprops, sprops, menu_props, ranking, players)[source]

Bases: yyagl.engine.gui.page.Page

attach_obs(mth)[source]
destroy()[source]
detach_obs(mth)[source]
class yracing.ranking.gui.RankingPageGui(mediator, menu_props, rprops, sprops, ranking, players)[source]

Bases: yyagl.engine.gui.page.PageGui

build(back_btn=True)[source]

yracing.ranking.logic module

yracing.ranking.ranking module

class yracing.ranking.ranking.Ranking(car_names, background_fpath, font, fg_col)[source]

Bases: yyagl.gameobject.GameObject, yracing.ranking.ranking.RankingFacade

destroy()[source]
class yracing.ranking.ranking.RankingFacade[source]

Bases: object

attach_obs(obs_meth, sort=10, rename='', args=[])[source]
detach_obs(obs_meth, lambda_call=None)[source]
hide()[source]
reset()[source]
show()[source]

Module contents