1 2 3 4 5 6 7 8 9 10 11 12 13
use nightshade::prelude::*; struct Game; impl State for Game { fn title(&self) -> &str { "Minimal" } } fn main() -> Result<(), Box<dyn std::error::Error>> { launch(Game) }