This commit is contained in:
nora 2023-04-18 12:22:01 +02:00
parent cf22fcd5fd
commit 840e869e4a
2 changed files with 0 additions and 47 deletions

View file

@ -18,29 +18,6 @@ impl<Layer> Debug for TileId<Layer> {
}
}
#[derive(Debug)]
pub enum Bg {}
#[derive(Debug)]
pub enum Mid {}
#[derive(Debug)]
pub enum Fg {}
pub trait TileLayer {
/// Definitions specific to this layer
type SpecificDef;
}
impl TileLayer for Bg {
type SpecificDef = ();
}
impl TileLayer for Mid {
type SpecificDef = MidDef;
}
impl TileLayer for Fg {
type SpecificDef = ();
}
#[derive(Serialize, Deserialize, Inspect)]
pub struct TileDef