thrustin 1.0.1

xperience epic adventures by THRUSTING some THRUSTERS into THRUSTEES https://THRUSTIN.rs. E
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::thrust::Deck;

// Game settings specific to player
// Calling new() will easily reset settings on new game or join
#[derive(Clone, Debug)]
pub struct PlayerGame {
    pub deck: Deck,
    pub points: u8,
}

impl PlayerGame {
    pub fn new() -> PlayerGame {
        PlayerGame {
            deck: Deck::new(),
            points: 0,
        }
    }
}