Trait lf_gfx::LfGameExt

source ·
pub trait LfGameExt: SealedGame {
    type InitData;

    // Required method
    fn run(init: Self::InitData);
}
Expand description

Extensions to an implemented game object.

Required Associated Types§

Required Methods§

source

fn run(init: Self::InitData)

Runs the game.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Game + 'static> LfGameExt for T

§

type InitData = <T as Game>::InitData