chiark / gitweb /
Move itemname into PieceBaseTrait
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Apr 2022 19:45:42 +0000 (20:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Apr 2022 19:45:42 +0000 (20:45 +0100)
commit4563553fcfe398f12d1a3bdf67878b5d6f433757
tree5c8222f84e6fb46ebed89c2eb90eb11be2d2ed18
parent24b36cec0ab0012bc05941d6573b6322e95a2fa6
Move itemname into PieceBaseTrait

We want this becasue dice want to use inert pieces as images, and use
their images' item names in their own item names.

This involves providing an itemname for ItemInertForOcculted.
Happily the SvgBaseName will do nicely.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/clock.rs
src/deck.rs
src/gamestate.rs
src/hand.rs
src/pieces.rs
src/shapelib.rs