mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
33 lines
710 B
Rust
33 lines
710 B
Rust
use std::{fmt::Debug, marker::PhantomData};
|
|
|
|
use egui_inspect::Inspect;
|
|
|
|
pub struct TileDef {
|
|
pub layer: (),
|
|
//ADD pub blend_graphic: String,
|
|
}
|
|
|
|
fn inspect_mut(_: &mut TileDef) {}
|
|
|
|
impl Debug for TileDef {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
loop {}
|
|
}
|
|
}
|
|
|
|
// this is actually used
|
|
pub struct TileDb {
|
|
unknown_bg: TileDef,
|
|
}
|
|
impl Inspect for TileDb {
|
|
fn inspect(&self, ui: &mut ::egui::Ui, id_source: u64) {}
|
|
fn inspect_mut(&mut self, ui: &mut ::egui::Ui, id_source: u64) {
|
|
let _a = &mut self.unknown_bg;
|
|
}
|
|
}
|
|
|
|
impl Debug for TileDb {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
loop {}
|
|
}
|
|
}
|