rocket_league.api.game_state
Object to contain all relevant information about the game state.
Classes
Abstract base class for generic types. |
Module Contents
- class rocket_league.api.game_state.GameState
Bases:
Generic
[rlgym.api.AgentID
]Abstract base class for generic types.
A generic type is typically declared by inheriting from this class parameterized with one or more type variables. For example, a generic mapping type might be defined as:
class Mapping(Generic[KT, VT]): def __getitem__(self, key: KT) -> VT: ... # Etc.
This class can then be used as follows:
def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT: try: return mapping[key] except KeyError: return default
- tick_count: int
- goal_scored: bool
- cars: Dict[rlgym.api.AgentID, rocket_league.api.car.Car[rlgym.api.AgentID]]
- _inverted_ball: rocket_league.api.physics_object.PhysicsObject
- boost_pad_timers: numpy.ndarray
- _inverted_boost_pad_timers: numpy.ndarray
- __slots__
- property scoring_team: int | None
- property inverted_ball: rocket_league.api.physics_object.PhysicsObject
- property inverted_boost_pad_timers: numpy.ndarray