use skunk2d::{run, Event, Game, Image32, WindowState}; struct World {} impl Game for World { fn new(window_state: &mut WindowState) -> Self { World {} } fn update(&mut self, window_state: &mut WindowState) {} fn on_event(&mut self, window_state: &mut WindowState, event: Event) {} fn draw(&self, target: &mut Image32) { target.fill([0xc0, 0xf0, 0xd0, 0xff]); } } fn main() { run::(1920 / 3, 1080 / 3, 60); }