diff options
| author | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 14:32:51 -0700 |
|---|---|---|
| committer | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 14:32:51 -0700 |
| commit | 21be142ed526c5ec88c14c3ea6cad043a075a2b9 (patch) | |
| tree | c51a223be5a439e1c8fa3dc4238cce04a14ed5ee /src/session.rs | |
| parent | 453ba51e78024fed7d22f984959b050182badffd (diff) | |
Add unimplemented color selection box
Diffstat (limited to 'src/session.rs')
| -rw-r--r-- | src/session.rs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs index b07623a..cac100e 100644 --- a/src/session.rs +++ b/src/session.rs @@ -1,7 +1,20 @@ use std::collections::HashMap; -use std::slice::Iter; pub struct Session { pub steam_name: String, pub passcode: String, + pub hands: HashMap<String, Hand> +} + +pub struct Hand { +} + +impl Session { + pub fn new(steam_name: String, passcode: String) -> Self { + Session { + steam_name, + passcode, + hands: HashMap::new() + } + } }
\ No newline at end of file |
