mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
more
This commit is contained in:
parent
77a0e91746
commit
ea398555ac
365 changed files with 6 additions and 84334 deletions
|
|
@ -34,19 +34,19 @@ fn main() {
|
|||
}
|
||||
|
||||
pub(crate) fn do_debug_ui(game: &mut GameState) {
|
||||
show(&|ui| {
|
||||
game.inspect_mut(ui);
|
||||
show(&||{
|
||||
game.inspect_mut();
|
||||
});
|
||||
}
|
||||
|
||||
fn show(f: &dyn FnMut(&mut egui::Ui)) {}
|
||||
fn show(f: &dyn FnMut()) {}
|
||||
|
||||
// this is actually used
|
||||
pub struct TileDb {
|
||||
unknown_bg: tiles::TileDef,
|
||||
}
|
||||
impl Inspect for TileDb {
|
||||
fn inspect_mut(&mut self, ui: &mut ::egui::Ui) {
|
||||
fn inspect_mut(&mut self) {
|
||||
let _a = &mut self.unknown_bg;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue