mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 04:25:00 +01:00
more
This commit is contained in:
parent
c5a1baba26
commit
d10e464104
2 changed files with 0 additions and 46 deletions
22
tiles.rs
22
tiles.rs
|
|
@ -42,28 +42,6 @@ impl TileLayer for Fg {
|
|||
type SpecificDef = ();
|
||||
}
|
||||
|
||||
pub type BgTileId = TileId<Bg>;
|
||||
pub type MidTileId = TileId<Mid>;
|
||||
pub type FgTileId = TileId<Fg>;
|
||||
|
||||
impl BgTileId {
|
||||
pub const DIRT: Self = Self(1, PhantomData);
|
||||
pub const STONE: Self = Self(2, PhantomData);
|
||||
}
|
||||
|
||||
impl MidTileId {
|
||||
pub const DIRT: Self = Self(1, PhantomData);
|
||||
pub const STONE: Self = Self(2, PhantomData);
|
||||
pub const TORCH: Self = Self(3, PhantomData);
|
||||
pub const PLATFORM: Self = Self(4, PhantomData);
|
||||
pub const PANZERIUM: Self = Self(5, PhantomData);
|
||||
pub const UNBREAKANIUM: Self = Self(6, PhantomData);
|
||||
}
|
||||
|
||||
impl FgTileId {
|
||||
pub const COAL: Self = Self(1, PhantomData);
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Inspect)]
|
||||
pub struct TileDef<Layer: TileLayer>
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue