From: Ian Jackson Date: Sat, 27 Jun 2020 19:18:58 +0000 (+0100) Subject: some junk versions in src now X-Git-Tag: otter-0.2.0~1523 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=db76461c264b3584dfdb37f8d1226e01b4035202;p=otter.git some junk versions in src now --- diff --git a/junk/gamestate.rs b/junk/gamestate.rs index 7c07c79e..7c23ad3c 100644 --- a/junk/gamestate.rs +++ b/junk/gamestate.rs @@ -1,16 +1,8 @@ -pub trait Piece { - fn svg(&self, pr : &PiecedRecord) -> SvgData; -} - struct PlayerRecord { nick : String, } -pub struct GameState { - pub players : Vec, -} - pub struct GameRef (InstanceGuard); impl Deref for GameRef { type Output = GamState;