chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d906027
)
some junk versions in src now
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Jun 2020 19:18:58 +0000
(20:18 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Jun 2020 19:18:58 +0000
(20:18 +0100)
junk/gamestate.rs
patch
|
blob
|
history
diff --git
a/junk/gamestate.rs
b/junk/gamestate.rs
index 7c07c79e9a5f3e79a753518f28f549a8b4418922..7c23ad3cba18bd8f9276a849b88f20ecab75f79f 100644
(file)
--- 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<PlayerRecord>,
-}
-
pub struct GameRef (InstanceGuard);
impl Deref for GameRef {
type Output = GamState;