mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
more
This commit is contained in:
parent
59c63ab233
commit
e662cc9172
2 changed files with 3 additions and 46 deletions
|
|
@ -22,13 +22,13 @@ impl<Layer> Clone for TileId<Layer> {
|
|||
}
|
||||
impl<Layer> Debug for TileId<Layer> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_tuple("TileId").field(&self.0).finish()
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
impl<Layer> TileId<Layer> {
|
||||
pub fn empty(&self) -> bool {
|
||||
self.0 == 0
|
||||
loop {}
|
||||
}
|
||||
pub const EMPTY: Self = Self(0, PhantomData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue