[−][src]Trait geng_core::State
Required methods
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
Provided methods
fn update(&mut self, delta_time: f64)
fn handle_event(&mut self, event: Event)
fn transition(&mut self) -> Option<Transition>
Implementations on Foreign Types
impl<T: State + ?Sized> State for Box<T>
[src]
fn update(&mut self, delta_time: f64)
[src]
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
[src]
fn handle_event(&mut self, event: Event)
[src]
fn transition(&mut self) -> Option<Transition>
[src]
Implementors
impl State for EmptyLoadingScreen
[src]
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
[src]
impl State for EmptyState
[src]
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
[src]
impl State for StateManager
[src]
fn update(&mut self, delta_time: f64)
[src]
fn handle_event(&mut self, event: Event)
[src]
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
[src]
fn transition(&mut self) -> Option<Transition>
[src]
impl<T, L, G> State for LoadingScreen<T, L, G> where
L: ProgressScreen,
G: State,
[src]
L: ProgressScreen,
G: State,