refactoring

This commit is contained in:
LunarAkai 2025-07-27 10:25:31 +02:00
commit 552a36a146
7 changed files with 282 additions and 130 deletions

View file

@ -0,0 +1,8 @@
use glium::Frame;
pub trait GamePlugin {
fn init(&mut self);
fn update(&mut self);
fn render(&mut self, target: &mut Frame);
fn cleanup(&mut self);
}