sorta discard a tile
This commit is contained in:
parent
63e21713ab
commit
8c4132e628
7 changed files with 199 additions and 26 deletions
|
|
@ -18,6 +18,8 @@ pub struct Lobby {
|
|||
|
||||
pub game_state: GameState,
|
||||
pub turn_state: TurnState,
|
||||
|
||||
// pub dealt_idx: i8,
|
||||
}
|
||||
|
||||
#[table(name = wall)]
|
||||
|
|
@ -29,7 +31,7 @@ pub struct DbWall {
|
|||
}
|
||||
|
||||
#[table(name = tile)]
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct DbTile {
|
||||
#[primary_key]
|
||||
#[auto_inc]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue