From 29fc3d6513f57ed53a94d547b822757acce4e5ae Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Sat, 12 Apr 2025 09:57:02 +0800 Subject: 编写了基础的 Bevy 项目 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/main.rs b/client/src/main.rs index e7a11a9..5215c09 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -1,3 +1,8 @@ +use bevy::app::App; +use bevy::DefaultPlugins; + fn main() { - println!("Hello, world!"); + let mut app = App::new(); + app.add_plugins(DefaultPlugins); + app.run(); } -- cgit