aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/launcher/launcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher/launcher.rs')
-rw-r--r--src/launcher/launcher.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/launcher/launcher.rs b/src/launcher/launcher.rs
deleted file mode 100644
index 5ccf443..0000000
--- a/src/launcher/launcher.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-pub struct Launcher {
- pub config: crate::launcher::config::Config,
-}
-
-impl Launcher {
- pub fn new(config: crate::launcher::config::Config) -> Self {
- Launcher { config }
- }
-
- pub fn launch(&self) {
- // 启动游戏的逻辑
- println!("启动游戏,用户名: {}", self.config.username);
- println!("分辨率: {}x{}", self.config.resolution.0, self.config.resolution.1);
- }
-} \ No newline at end of file