aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/launcher/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher/config.rs')
-rw-r--r--src/launcher/config.rs13
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