mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 20:25:00 +01:00
more
This commit is contained in:
parent
accbdc83bf
commit
d32839a469
2 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ pub struct TileDef {
|
|||
|
||||
use egui_inspect_derive::expand;
|
||||
|
||||
|
||||
pub(crate) struct GameState {
|
||||
pub(crate) tile_db: TileDb,
|
||||
}
|
||||
|
|
@ -14,6 +13,7 @@ pub(crate) struct GameState {
|
|||
impl GameState {
|
||||
fn inspect_mut(&mut self) {
|
||||
expand! {}
|
||||
output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue