diff options
Diffstat (limited to 'games/rstnode/rst-client/src/state/map.rs')
-rw-r--r-- | games/rstnode/rst-client/src/state/map.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/rstnode/rst-client/src/state/map.rs b/games/rstnode/rst-client/src/state/map.rs new file mode 100644 index 000000000000..1c4666da6b4f --- /dev/null +++ b/games/rstnode/rst-client/src/state/map.rs @@ -0,0 +1,10 @@ +use rst_core::map::{Map, MapNode}; + +/// Client map state wrapper +/// +/// The map state is calculated by the server and updates are streamed +/// to all clients in a [Match](rst_core::Match). +pub struct MapState { + inner: Map, +} + |