1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-15 18:32:48 +00:00
doukutsu-rs/src/framework/backend.rs
2021-01-27 19:20:47 +01:00

9 lines
183 B
Rust

use crate::Game;
pub(crate) trait Backend {
fn create_event_loop(&self) -> Box<dyn BackendEventLoop>;
}
pub(crate) trait BackendEventLoop {
fn run(&self, game: &mut Game);
}