Sync scores between players
This commit is contained in:
1 parent
2fb71a3969
commit
1fc4e10c39
4 files changed
+101
No files matched your search
@@ -51,6 +51,8 @@ pub enum ServerMessage {
|
||||
PlayerTurn(usize),
|
||||
/// Update the current hand of the player
|
||||
SyncHand(Vec<TileRef>),
|
||||
/// Update the score of the n-th player.
|
||||
SyncScore(usize, u32),
|
||||
/// Informs that a tile has been placed
|
||||
TilePlaced(Position2dRef, TileRef),
|
||||
/// Informs that a tile has been removed
|
||||
|
||||
Reference in new issue
Block a user