Steps.py (540B)
1 from Actions import Actions 2 3 def start_game(frame_ratio): 4 return [ 5 {"wait": int(300/frame_ratio), "actions": [Actions.insert_coin]}, 6 {"wait": int(60/frame_ratio), "actions": [Actions.p1_start]}, 7 {"wait": int(60/frame_ratio), "actions": [Actions.p1_start]}] 8 9 def new_game(frame_ratio): 10 return [ 11 {"wait": int(600/frame_ratio), "actions": [Actions.insert_coin]}, 12 {"wait": int(60/frame_ratio), "actions": [Actions.p1_start]}, 13 {"wait": int(60/frame_ratio), "actions": [Actions.p1_start]}]