mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 12:15:01 +01:00
more
This commit is contained in:
parent
ea398555ac
commit
fa77644b0d
11 changed files with 15 additions and 2811 deletions
14
src/main.rs
14
src/main.rs
|
|
@ -1,5 +1,3 @@
|
|||
use egui_inspect::Inspect;
|
||||
|
||||
extern crate alloc;
|
||||
mod tiles;
|
||||
|
||||
|
|
@ -12,7 +10,7 @@ impl App {
|
|||
}
|
||||
}
|
||||
|
||||
use egui_inspect::derive::Inspect;
|
||||
use egui_inspect_derive::Inspect;
|
||||
|
||||
pub(crate) struct WorldPos {}
|
||||
|
||||
|
|
@ -45,6 +43,16 @@ fn show(f: &dyn FnMut()) {}
|
|||
pub struct TileDb {
|
||||
unknown_bg: tiles::TileDef,
|
||||
}
|
||||
|
||||
|
||||
pub trait Inspect {
|
||||
fn inspect_mut(&mut self) {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
impl Inspect for () {}
|
||||
|
||||
|
||||
impl Inspect for TileDb {
|
||||
fn inspect_mut(&mut self) {
|
||||
let _a = &mut self.unknown_bg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue