yracing.track package

Submodules

yracing.track.audio module

class yracing.track.audio.TrackAudio(mediator, music_fpath)[source]

Bases: yyagl.gameobject.AudioColleague

yracing.track.gfx module

class yracing.track.gfx.TrackGfx(mediator, race_props)[source]

Bases: yyagl.gameobject.GfxColleague

destroy()[source]
redraw_wps()[source]
update(car_pos)[source]
class yracing.track.gfx.TrackGfxDebug(mediator, race_props)[source]

Bases: yracing.track.gfx.TrackGfx

destroy()[source]
on_frame()[source]
redraw_wps()[source]
set_curr_wp(wayp)[source]
class yracing.track.gfx.TrackGfxPbr(mediator, race_props)[source]

Bases: yracing.track.gfx.TrackGfx

update(car_pos)[source]
class yracing.track.gfx.TrackGfxShader(mediator, race_props)[source]

Bases: yracing.track.gfx.TrackGfx

update(car_pos)[source]

yracing.track.phys module

class yracing.track.phys.MeshBuilder(model, geom_names, is_ghost)[source]

Bases: yyagl.gameobject.GameObject

destroy()[source]
class yracing.track.phys.MeshBuilderMerged(model, geom_names, is_ghost)[source]

Bases: yracing.track.phys.MeshBuilder

class yracing.track.phys.MeshBuilderUnmerged(model, geom_names, is_ghost)[source]

Bases: yracing.track.phys.MeshBuilder

class yracing.track.phys.TrackPhys(mediator, race_props)[source]

Bases: yyagl.gameobject.PhysColleague, yyagl.computer_proxy.ComputerProxy

property bounds
create_bonus(pos)[source]
destroy()[source]
get_start_pos_hpr(i)[source]
property grid_wps
nogrid_wps(curr_wp)[source]
nopitlane_wps(curr_wp)[source]
on_bonus_collected(bonus)[source]
property pitstop_wps
skidmark_col()[source]
class yracing.track.phys.Waypoint(node)[source]

Bases: object

get_name()[source]
property pos
set_prevs(waypoints, prev_name, wp_root, wpstr)[source]
set_prevs_grid(nopitlane_wps)[source]

yracing.track.signs module

class yracing.track.signs.Signs(nodes, draw_cb)[source]

Bases: object

destroy()[source]
set_signs()[source]

yracing.track.track module

class yracing.track.track.Track(race_props)[source]

Bases: yyagl.gameobject.GameObject, yracing.track.track.TrackFacade

destroy()[source]
class yracing.track.track.TrackFacade[source]

Bases: yyagl.facade.Facade

Module contents