aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/launcher/mod.rs
blob: 0359d3e6df84372869e951f4362f05743a582812 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub mod config;
pub mod launcher;

pub use config::Config;
pub use launcher::Launcher;

pub fn start() {
    // 启动器的代码
    println!("启动器启动中...");

    // 创建配置
    let config = Config::new("玩家", (1920, 1080));

    // 创建启动器
    let launcher = Launcher::new(config);

    // 启动游戏
    launcher.launch();
}