[−][src]Trait game::info::ContextualActions
Required methods
fn actions(&self, app: &App, id: ID) -> Vec<(Key, String)>
fn execute(
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
close_panel: &mut bool
) -> Transition
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
close_panel: &mut bool
) -> Transition
fn is_paused(&self) -> bool
Provided methods
fn gameplay_mode(&self) -> GameplayMode
Implementors
impl ContextualActions for GameplayMode
[src]
fn actions(&self, app: &App, id: ID) -> Vec<(Key, String)>
[src]
fn execute(
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
_: &mut bool
) -> Transition
[src]
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
_: &mut bool
) -> Transition
fn is_paused(&self) -> bool
[src]
impl ContextualActions for game::debug::Actions
[src]
fn actions(&self, app: &App, id: ID) -> Vec<(Key, String)>
[src]
fn execute(
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
close_info: &mut bool
) -> Transition
[src]
&mut self,
ctx: &mut EventCtx,
app: &mut App,
id: ID,
action: String,
close_info: &mut bool
) -> Transition
fn is_paused(&self) -> bool
[src]
fn gameplay_mode(&self) -> GameplayMode
[src]
impl ContextualActions for game::sandbox::gameplay::commute::Actions
[src]
fn actions(&self, _: &App, _: ID) -> Vec<(Key, String)>
[src]
fn execute(
&mut self,
_: &mut EventCtx,
_: &mut App,
_: ID,
_: String,
_: &mut bool
) -> Transition
[src]
&mut self,
_: &mut EventCtx,
_: &mut App,
_: ID,
_: String,
_: &mut bool
) -> Transition