Move PlatformContext to the raidillon_platform crate
This commit is contained in:
parent
9905ffd26b
commit
369bbd19c7
8 changed files with 15 additions and 16 deletions
|
|
@ -2,7 +2,7 @@ use raidillon_assets::ModelManager;
|
|||
use raidillon_core::engine::EngineTrait;
|
||||
use crate::PlatformContext;
|
||||
|
||||
pub trait Platform<E: EngineTrait> {
|
||||
pub trait Platform<E: EngineTrait<PlatformCtx = PlatformContext>> {
|
||||
/// Initialize platform.
|
||||
fn initialize(engine: E, title: String, width: u32, height: u32) -> Self;
|
||||
fn run(self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue