diff --git a/src/tiles.rs b/src/tiles.rs index 1949614..7a58567 100644 --- a/src/tiles.rs +++ b/src/tiles.rs @@ -18,35 +18,11 @@ impl Debug for TileId { } } -#[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 where { - /// Whether the tile emits light, and the light source offset pub layer: (), //ADD pub blend_graphic: String, } diff --git a/tiles.rs b/tiles.rs index 794689d..7a58567 100644 --- a/tiles.rs +++ b/tiles.rs @@ -18,29 +18,6 @@ impl Debug for TileId { } } -#[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