mod camera; mod selection; mod tilemap; mod world; use bevy::prelude::*; fn main() { App::new() .add_plugins( DefaultPlugins .set(ImagePlugin::default_nearest()) .set(WindowPlugin { primary_window: Some(Window { title: "Simulator".into(), canvas: Some("#bevy".into()), fit_canvas_to_parent: true, ..default() }), ..default() }), ) .insert_resource(ClearColor(Color::srgb(0.08, 0.08, 0.1))) .insert_resource(world::static_world()) .add_plugins(( tilemap::TilemapPlugin, camera::CameraPlugin, selection::SelectionPlugin, )) .run(); }