mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 11:45:01 +01:00
34 lines
512 B
Rust
34 lines
512 B
Rust
use std::{fmt::Debug, marker::PhantomData};
|
|
|
|
use egui_inspect::{derive::Inspect, Inspect};
|
|
|
|
#[derive(Inspect)]
|
|
pub struct TileDef
|
|
where
|
|
{
|
|
pub layer: (),
|
|
//ADD pub blend_graphic: String,
|
|
}
|
|
|
|
impl Debug for TileDef
|
|
where
|
|
{
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
loop {}
|
|
}
|
|
}
|
|
|
|
impl Default for TileDef<>
|
|
where
|
|
{
|
|
fn default() -> Self {
|
|
loop {}
|
|
}
|
|
}
|
|
|
|
|
|
// this is actually used
|
|
#[derive(Debug, Inspect)]
|
|
pub struct TileDb {
|
|
unknown_bg: TileDef,
|
|
}
|