From: Ian Jackson Date: Sun, 21 Feb 2021 11:50:50 +0000 (+0000) Subject: Note a todo X-Git-Tag: otter-0.4.0~409 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e5db436c53e228edcce3e8ffbac28c5968b8cd9c;p=otter.git Note a todo Signed-off-by: Ian Jackson --- diff --git a/src/gamestate.rs b/src/gamestate.rs index 6fc0cb31..e1e75f90 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -139,6 +139,8 @@ pub struct UoDescription { #[typetag::serde] pub trait Piece: Outline + Send + Debug { /// by convention, occult face is nfaces-1 + // xxx this is no good, we need a central definition of the occult + // face to avoid weird behaviour with buggy gamespecs fn nfaces(&self) -> RawFaceId; #[throws(InternalError)]