lyra-engine/src/plugin.rs

8 lines
149 B
Rust
Raw Normal View History

2023-09-09 10:51:58 -04:00
use crate::game::Game;
pub trait Plugin {
/// Setup this plugin. This runs before the game has started
fn setup(&self, game: &mut Game);
}