From e5db436c53e228edcce3e8ffbac28c5968b8cd9c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Feb 2021 11:50:50 +0000 Subject: [PATCH] Note a todo Signed-off-by: Ian Jackson --- src/gamestate.rs | 2 ++ 1 file changed, 2 insertions(+) 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)] -- 2.30.2