mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-15 18:32:48 +00:00
9 lines
183 B
Rust
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);
|
|
} |