Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cflavio committed Mar 6, 2017
1 parent 02744b9 commit 145ac2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.py
Expand Up @@ -4,7 +4,7 @@
# TODO LIST =====

# 0.5
# store the last name inserted
# add inertia to camera's target point (high speed crash)
# change car's physics properties, report these into the gui
# modify physics properties depending of driver's selection

Expand Down
4 changes: 3 additions & 1 deletion yorg/fsm.py
Expand Up @@ -62,7 +62,9 @@ def enterRace(self, track_path='', car_path='', player_cars=[],
elif eng.client.is_active:
self.race = RaceClient(keys, joystick, sounds)
else:
self.race = RaceSinglePlayer(keys, joystick, sounds)
self.race = RaceSinglePlayer(
keys, joystick, sounds, (.75, .75, .25, 1), (.75, .75, .75, 1),
'assets/fonts/Hanken-Book.ttf') # use global template args
eng.log_mgr.log('selected drivers: ' + str(drivers))
self.race.logic.drivers = drivers
self.race.fsm.demand('Loading', track_path, car_path, player_cars,
Expand Down
2 changes: 1 addition & 1 deletion yyagl
Submodule yyagl updated from fbd7aa to 7fdfd1

0 comments on commit 145ac2e

Please sign in to comment.