use crate::thrust::Deck;
use std::collections::HashMap;
#[derive(Clone, Debug)]
pub struct LobbyGame {
pub thrustee: usize,
pub deck: Deck,
pub deck_reference: Deck,
pub current_thrustee: String,
pub current_thrusts: HashMap<usize, (u32, String)>,
pub thrusted_players: Vec<u32>,
pub thrustee_choices: Vec<String>,
}
impl LobbyGame {
pub fn new() -> LobbyGame {
LobbyGame {
deck: Deck::new(),
deck_reference: Deck::new(),
current_thrustee: String::new(),
current_thrusts: HashMap::new(),
thrusted_players: Vec::new(),
thrustee: 0,
thrustee_choices: Vec::new(),
}
}
}