[][src]Struct rlbot::GameInfo

pub struct GameInfo {
    pub seconds_elapsed: f32,
    pub game_time_remaining: f32,
    pub is_overtime: bool,
    pub is_unlimited_time: bool,
    pub is_round_active: bool,
    pub is_kickoff_pause: bool,
    pub is_match_ended: bool,
    pub world_gravity_z: f32,
    pub game_speed: f32,
    // some fields omitted
}

Fields

seconds_elapsed: f32game_time_remaining: f32is_overtime: boolis_unlimited_time: boolis_round_active: bool

True when cars are allowed to move, and during the pause menu. False during replays.

is_kickoff_pause: bool

True when the clock is paused due to kickoff, but false during kickoff countdown. In other words, it is true while cars can move during kickoff. Note that if both players sit still, game clock start and this will become false.

is_match_ended: bool

Turns true after final replay, the moment the 'winner' screen appears. Remains true during next match countdown. Turns false again the moment the 'choose team' screen appears.

world_gravity_z: f32game_speed: f32

Game speed multiplier, 1.0 is regular game speed.

Auto Trait Implementations

impl Send for GameInfo

impl Sync for GameInfo

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,