From: Ian Jackson Date: Wed, 27 Apr 2022 20:37:17 +0000 (+0100) Subject: Document z coordinate sense convention X-Git-Tag: otter-1.1.0~419 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=825d238aa0177b2d71965de228d6492a28068e68;p=otter.git Document z coordinate sense convention Signed-off-by: Ian Jackson --- diff --git a/src/gamestate.rs b/src/gamestate.rs index eb0d114d..0e6f8751 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -28,6 +28,7 @@ pub struct SpecDepth(u16); // ---------- general data types ---------- +/// Pieces on top have higher values than ones #[derive(Debug,Clone,Eq,PartialEq,Ord,PartialOrd)] #[derive(Serialize,Deserialize)] pub struct ZLevel {