mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 11:45:01 +01:00
more
This commit is contained in:
parent
ae76d01d34
commit
7ccc9dc750
2 changed files with 8 additions and 8 deletions
|
|
@ -1,13 +1,13 @@
|
|||
use std::{fmt::Debug, marker::PhantomData};
|
||||
|
||||
use egui_inspect::{derive::Inspect, Inspect};
|
||||
use egui_inspect::Inspect;
|
||||
|
||||
pub struct TileDef {
|
||||
pub layer: (),
|
||||
//ADD pub blend_graphic: String,
|
||||
}
|
||||
|
||||
impl ::egui_inspect::Inspect for TileDef {
|
||||
impl Inspect for TileDef {
|
||||
fn inspect(&self, ui: &mut ::egui::Ui, id_source: u64) {}
|
||||
fn inspect_mut(&mut self, ui: &mut ::egui::Ui, id_source: u64) {}
|
||||
}
|
||||
|
|
@ -22,10 +22,10 @@ impl Debug for TileDef {
|
|||
pub struct TileDb {
|
||||
unknown_bg: TileDef,
|
||||
}
|
||||
impl ::egui_inspect::Inspect for TileDb {
|
||||
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) {
|
||||
::egui_inspect::Inspect::inspect_mut(&mut self.unknown_bg, ui, 0usize as u64)
|
||||
Inspect::inspect_mut(&mut self.unknown_bg, ui, 0usize as u64)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
8
tiles.rs
8
tiles.rs
|
|
@ -1,13 +1,13 @@
|
|||
use std::{fmt::Debug, marker::PhantomData};
|
||||
|
||||
use egui_inspect::{derive::Inspect, Inspect};
|
||||
use egui_inspect::Inspect;
|
||||
|
||||
pub struct TileDef {
|
||||
pub layer: (),
|
||||
//ADD pub blend_graphic: String,
|
||||
}
|
||||
|
||||
impl ::egui_inspect::Inspect for TileDef {
|
||||
impl Inspect for TileDef {
|
||||
fn inspect(&self, ui: &mut ::egui::Ui, id_source: u64) {}
|
||||
fn inspect_mut(&mut self, ui: &mut ::egui::Ui, id_source: u64) {}
|
||||
}
|
||||
|
|
@ -22,10 +22,10 @@ impl Debug for TileDef {
|
|||
pub struct TileDb {
|
||||
unknown_bg: TileDef,
|
||||
}
|
||||
impl ::egui_inspect::Inspect for TileDb {
|
||||
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) {
|
||||
::egui_inspect::Inspect::inspect_mut(&mut self.unknown_bg, ui, 0usize as u64)
|
||||
Inspect::inspect_mut(&mut self.unknown_bg, ui, 0usize as u64)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue