yyagl.racing.race package

Submodules

yyagl.racing.race.event module

class yyagl.racing.race.event.NetMsgs

Bases: object

end_race = 3
end_race_player = 2
game_packet = 0
player_info = 1
class yyagl.racing.race.event.RaceEvent(mdt, menu_cls, keys)

Bases: yyagl.gameobject.Event

destroy()
fire_ingame_menu()
network_register()
on_end_race()
on_ingame_back()
on_ingame_exit()
on_wrong_way(way_str)
register_menu()
class yyagl.racing.race.event.RaceEventClient(mdt, menu_cls, keys)

Bases: yyagl.racing.race.event.RaceEvent

network_register()
process_client(data_lst, sender)
class yyagl.racing.race.event.RaceEventServer(mdt, menu_cls, keys)

Bases: yyagl.racing.race.event.RaceEvent

destroy()
network_register()
on_frame()
process_srv(data_lst, sender)

yyagl.racing.race.fsm module

class yyagl.racing.race.fsm.RaceFsm(mdt, shaders)

Bases: yyagl.gameobject.Fsm

aux_start_countdown(countdown_seconds)
enterCountdown(sprops)
enterLoading(rprops, track_name_transl, drivers, ranking, tuning)
enterPlay()
enterResults(race_ranking)
exitCountdown()
exitLoading()
static exitPlay()
exitResults()
start_countdown(countdown_seconds)

yyagl.racing.race.logic module

class yyagl.racing.race.logic.NetMsgs

Bases: object

client_ready = 0
start_race = 1
class yyagl.racing.race.logic.RaceLogic(mdt, rprops)

Bases: yyagl.gameobject.Logic

all_cars
enter_play()
exit_play()
load_stuff(car_name, player_car_names)
nonplayer_cars
on_frame()
on_rotate_all(sender)
on_track_loaded()
race_ranking()
ranking()
start_play()
class yyagl.racing.race.logic.RaceLogicClient(mdt, rprops)

Bases: yyagl.racing.race.logic.RaceLogic

enter_play()
exit_play()
process_client(data_lst, sender)
class yyagl.racing.race.logic.RaceLogicServer(mdt, rprops)

Bases: yyagl.racing.race.logic.RaceLogic

enter_play()
exit_play()
process_srv(data_lst, sender)
class yyagl.racing.race.logic.RaceLogicSinglePlayer(mdt, rprops)

Bases: yyagl.racing.race.logic.RaceLogic

enter_play()

yyagl.racing.race.race module

class yyagl.racing.race.race.Race(race_props)

Bases: yyagl.gameobject.GameObject, yyagl.racing.race.race.RaceFacade

destroy()
event_cls

alias of RaceEvent

logic_cls

alias of RaceLogic

class yyagl.racing.race.race.RaceClient(race_props)

Bases: yyagl.racing.race.race.Race

event_cls

alias of RaceEventClient

logic_cls

alias of RaceLogicClient

class yyagl.racing.race.race.RaceFacade

Bases: yyagl.facade.Facade

class yyagl.racing.race.race.RaceServer(race_props)

Bases: yyagl.racing.race.race.Race

event_cls

alias of RaceEventServer

logic_cls

alias of RaceLogicServer

class yyagl.racing.race.race.RaceSinglePlayer(race_props)

Bases: yyagl.racing.race.race.Race

logic_cls

alias of RaceLogicSinglePlayer

yyagl.racing.race.raceprops module

class yyagl.racing.race.raceprops.RaceProps

Bases: tuple

RaceProps(season_props, keys, joystick, sounds, coll_path, coll_name, car_path, wheel_names, road_name, particle_path, drivers, shaders_dev, shaders, music_path, coll_track_path, unmerged, merged, ghosts, corner_names, wp_info, show_waypoints, weapon_info, start, track_name, track_path, track_model_name, empty_name, anim_name, omni_tag, sign_cb, sign_name, minimap_path, minimap_image, col_dct, camera_vec, shadow_src, laps, rocket_path, turbo_path, rotate_all_path, mine_path, bonus_model, bonus_suff, a_i, ingame_menu, share_urls, respawn_name, pitstop_name, wall_name, goal_name, bonus_name, roads_names, grid)

a_i

Alias for field number 43

anim_name

Alias for field number 27

bonus_model

Alias for field number 41

bonus_name

Alias for field number 50

bonus_suff

Alias for field number 42

camera_vec

Alias for field number 34

car_path

Alias for field number 6

col_dct

Alias for field number 33

coll_name

Alias for field number 5

coll_path

Alias for field number 4

coll_track_path

Alias for field number 14

corner_names

Alias for field number 18

drivers

Alias for field number 10

empty_name

Alias for field number 26

ghosts

Alias for field number 17

goal_name

Alias for field number 49

grid

Alias for field number 52

ingame_menu

Alias for field number 44

joystick

Alias for field number 2

keys

Alias for field number 1

laps

Alias for field number 36

merged

Alias for field number 16

mine_path

Alias for field number 40

minimap_image

Alias for field number 32

minimap_path

Alias for field number 31

music_path

Alias for field number 13

omni_tag

Alias for field number 28

particle_path

Alias for field number 9

pitstop_name

Alias for field number 47

respawn_name

Alias for field number 46

road_name

Alias for field number 8

roads_names

Alias for field number 51

rocket_path

Alias for field number 37

rotate_all_path

Alias for field number 39

season_props

Alias for field number 0

shaders

Alias for field number 12

shaders_dev

Alias for field number 11

shadow_src

Alias for field number 35

share_urls

Alias for field number 45

show_waypoints

Alias for field number 20

sign_cb

Alias for field number 29

sign_name

Alias for field number 30

sounds

Alias for field number 3

start

Alias for field number 22

track_model_name

Alias for field number 25

track_name

Alias for field number 23

track_path

Alias for field number 24

turbo_path

Alias for field number 38

unmerged

Alias for field number 15

wall_name

Alias for field number 48

weapon_info

Alias for field number 21

wheel_names

Alias for field number 7

wp_info

Alias for field number 19

Module contents

Table Of Contents

Previous topic

yyagl.racing.driver package

Next topic

yyagl.racing.race.gui package

This Page

Please, support us!




Flattr this