Update main.rs

This commit is contained in:
2025-06-23 20:33:23 -04:00
parent 67a8eb09cd
commit be745273e2

View File

@@ -5,15 +5,15 @@ use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin};
use plugins::GamePlugin; use plugins::GamePlugin;
mod components; mod components;
mod resources; mod resources;
const NAME: &str = "Space Game";
fn main() { fn main() {
App::new() App::new()
.add_plugins(( .add_plugins((
DefaultPlugins DefaultPlugins
.set(WindowPlugin { .set(WindowPlugin {
primary_window: Some(Window { primary_window: Some(Window {
title: "Phos".into(), title: NAME.into(),
name: Some("phos".into()), name: Some(NAME.into()),
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
resolution: (1920., 1080.).into(), resolution: (1920., 1080.).into(),
present_mode: PresentMode::AutoNoVsync, present_mode: PresentMode::AutoNoVsync,