yracing.season package

Submodules

yracing.season.logic module

class yracing.season.logic.SeasonLogic(mediator, season_props)[source]

Bases: yyagl.gameobject.LogicColleague

create_race(race_props, players)[source]
create_race_client(race_props, players)[source]
create_race_server(race_props, players)[source]
destroy()[source]
load(ranking, tuning, drivers)[source]
next_race()[source]
on_tuning_sel(val)[source]
start(reset=True)[source]

yracing.season.season module

class yracing.season.season.Season(season_props)[source]

Bases: yyagl.gameobject.GameObject, yracing.season.season.SeasonFacade

destroy()[source]
logic_cls

alias of yracing.season.logic.SeasonLogic

class yracing.season.season.SeasonFacade[source]

Bases: object

attach_obs(obs_meth, sort=10, rename='', args=[])[source]
create_race(race_props, players)[source]
create_race_client(race_props, players)[source]
create_race_server(race_props, players)[source]
detach_obs(obs_meth, lambda_call=None)[source]
property drivers_skills
load(ranking, tuning, drivers)[source]
property props
property race
property ranking
start(reset=True)[source]
property tuning
class yracing.season.season.SeasonProps(gameprops, cars_number, tuning_imgs, font, countdown_sfx, single_race, wpn2img, race_start_time, countdown_seconds, camera, kind, room=None)[source]

Bases: object

class yracing.season.season.SingleRaceSeason(season_props)[source]

Bases: yracing.season.season.Season

Module contents