Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main(_):
script_helpers.ScriptHelpers().dump_to_video(FLAGS.trace_file)
def main(_):
script_helpers.ScriptHelpers().dump_to_txt(FLAGS.trace_file, FLAGS.output,
FLAGS.include_debug)
def main(_):
script_helpers.ScriptHelpers().replay(FLAGS.trace_file, FLAGS.fps)
def __init__(self, player_config, env_config):
player_base.PlayerBase.__init__(self, player_config)
self._can_play_right = True
self._replay = script_helpers.ScriptHelpers().load_dump(player_config['path'])
self._step = 0
self._player = player_config['index']