Struct rust_rpg_toolkit::nodes::game_state::GameState[][src]

pub struct GameState {
    pub chapter_index: usize,
    pub map_id: String,
    pub dead_actors: Vec<String>,
    pub player_spawn_point: Vec2,
    pub character_name: String,
    pub is_permadeath: bool,
    pub in_debug_mode: bool,
    pub gui_state: GuiState,
    // some fields omitted
}

Fields

chapter_index: usizemap_id: Stringdead_actors: Vec<String>player_spawn_point: Vec2character_name: Stringis_permadeath: boolin_debug_mode: boolgui_state: GuiState

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.