Struct sc2::FrameData [] [src]

pub struct FrameData {
    pub state: GameState,
    pub data: Rc<GameData>,
    pub events: Vec<GameEvent>,
    pub map: Rc<MapState>,
}

all game data passed to agents and observers

Fields

state that updates every frame

data that can change on a per game basis

events that have happened since the last update

current map state

Trait Implementations

impl Debug for FrameData
[src]

[src]

Formats the value using the given formatter.

impl Clone for FrameData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more