aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/_match.rs
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2021-02-06 19:40:53 +0100
committerKatharina Fey <kookie@spacekookie.de>2021-02-06 19:42:04 +0100
commitcf9392a33bb99ae581f818d3ddb8be1231521a02 (patch)
tree8295d8a4ed199c3263eadd8f1a508b98567a44f7 /games/rstnode/rst-core/src/_match.rs
parent56d96b2f22bf6a61ff992b000215dc3a2c2448ad (diff)
rstnode: restructure project into workspace and sub-crates
Diffstat (limited to '')
-rw-r--r--games/rstnode/rst-core/src/_match.rs (renamed from games/rstnode/src/_match.rs)5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/rstnode/src/_match.rs b/games/rstnode/rst-core/src/_match.rs
index 6ae69c54e935..ce75af5af393 100644
--- a/games/rstnode/src/_match.rs
+++ b/games/rstnode/rst-core/src/_match.rs
@@ -10,6 +10,11 @@ use serde::{Deserialize, Serialize};
use std::collections::VecDeque;
/// Describes a match for the server
+///
+/// This type implements the partial [GameIf](crate::GameIf) API to
+/// allow client to queue commands from players. The server
+/// implementation runs a simulation for each match that is running on
+/// it.
pub struct Match {
/// The match id
pub id: MatchId,