Move PlatformContext to the raidillon_platform crate

This commit is contained in:
reo 2025-09-22 19:45:30 +03:00
parent 9905ffd26b
commit 369bbd19c7
8 changed files with 15 additions and 16 deletions

View file

@ -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();