aleatico 0.1.0

stub package for fennel engine graphics
Documentation
use aleatico::controller::Controller;
use aleatico::state::State;
use winit::event::WindowEvent;

struct MyController;

impl Controller for MyController {
    fn resize(&mut self, _state: &mut State, _width: u32, _height: u32) {}

    fn update(&mut self, _state: &mut State) {}

    fn render(&mut self, _state: &mut State) {}

    fn handle_event(&mut self, _state: &mut State, _event: &WindowEvent) {}
}

fn main() {
    env_logger::init();

    let app = aleatico::app::App::new(MyController);
    app.run().unwrap();
}