diff options
Diffstat (limited to 'examples/breakout/protocol.rs')
-rw-r--r-- | examples/breakout/protocol.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/breakout/protocol.rs b/examples/breakout/protocol.rs index a42e0e4..4e2b309 100644 --- a/examples/breakout/protocol.rs +++ b/examples/breakout/protocol.rs @@ -32,7 +32,12 @@ pub(crate) enum ServerMessage { position: Vec3, direction: Vec2, }, - StartGame {}, + SpawnBricks { + offset: Vec2, + rows: usize, + columns: usize, + }, + StartGame, BrickDestroyed { client_id: ClientId, }, |