diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2025-04-12 09:57:02 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2025-04-12 09:57:02 +0800 |
| commit | 29fc3d6513f57ed53a94d547b822757acce4e5ae (patch) | |
| tree | bd7291a0630162219de9544370625aaeb9de946c | |
| parent | be8696b83aab729a1e19c57da80897fc61096395 (diff) | |
编写了基础的 Bevy 项目
| -rw-r--r-- | client/src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
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(); } |
