pub mod vector;
pub use vector::*;
pub mod config;
pub use config::*;
pub mod state;
pub use state::*;
pub mod window;
pub use window::*;
pub mod shape;
pub use shape::*;
pub mod grid;
pub use grid::*;
pub use sfml::{
window::{Event, mouse, Style, Key},
graphics::{RenderWindow, Color},
};
pub use egui_sfml::egui as gui;
pub trait App {
fn start(&mut self, _: State) {}
fn events(&mut self, _: State, _: Event) -> bool { false }
fn update(&mut self, _: State) {}
fn gui(&mut self, _: State, _: &gui::Context) {}
fn render(&self, _: State, _: &mut RenderWindow) {}
}