You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
There's not set_game_state function that takes a DesiredGameState as input #46
defset_game_state(
self,
balls: dict[int, flat.DesiredBallState] = {},
cars: dict[int, flat.DesiredCarState] = {},
match_info: flat.DesiredMatchInfo|None=None,
commands: list[str] = [],
):
""" Sets the game to the desired state. Through this it is possible to manipulate the position, velocity, and rotations of cars and balls, and more. See wiki for a full break down and examples. """game_state=fill_desired_game_state(balls, cars, match_info, commands)
self._game_interface.send_msg(game_state)
but I might have constructed the DesiredGameState elsewhere
Activity