diff options
| author | 2025-01-16 01:26:49 +0800 | |
|---|---|---|
| committer | 2025-01-16 01:26:49 +0800 | |
| commit | ee71943e7433059d9326867d5dd62385ab76ab58 (patch) | |
| tree | 3e96b1343f040212f855a33bcb4ca57dd1f618d4 /src/launcher/config.rs | |
| download | DropOut-ee71943e7433059d9326867d5dd62385ab76ab58.tar.gz DropOut-ee71943e7433059d9326867d5dd62385ab76ab58.zip | |
first commit
Diffstat (limited to 'src/launcher/config.rs')
| -rw-r--r-- | src/launcher/config.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/launcher/config.rs b/src/launcher/config.rs new file mode 100644 index 0000000..fafc229 --- /dev/null +++ b/src/launcher/config.rs @@ -0,0 +1,13 @@ +pub struct Config { + pub username: String, + pub resolution: (u32, u32), +} + +impl Config { + pub fn new(username: &str, resolution: (u32, u32)) -> Self { + Config { + username: username.to_string(), + resolution, + } + } +}
\ No newline at end of file |