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 std::cell::RefCell;
|
|||
use std::rc::Rc;
|
||||
use raidillon_core::scene::{Scene, SceneManager};
|
||||
use crate::system::{SystemContext, SystemManager};
|
||||
use raidillon_core::context::PlatformContext;
|
||||
use raidillon_platform::PlatformContext;
|
||||
use raidillon_core::DebugUIBuffer;
|
||||
use raidillon_core::engine::EngineTrait;
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ pub struct Engine {
|
|||
}
|
||||
|
||||
impl EngineTrait for Engine {
|
||||
type PlatformCtx = PlatformContext;
|
||||
fn new() -> Self {
|
||||
let scene_manager = SceneManager::new();
|
||||
let system_manager = SystemManager::new();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use std::any::TypeId;
|
|||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
use indexmap::IndexMap;
|
||||
use raidillon_core::context::PlatformContext;
|
||||
use raidillon_platform::PlatformContext;
|
||||
use raidillon_core::scene::Scene;
|
||||
use raidillon_core::DebugUIBuffer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue