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
5604327bdc
commit
ba93afdf0a
3 changed files with 4 additions and 11 deletions
|
|
@ -1,7 +1,10 @@
|
|||
use crate::{math::WorldPos, tiles::TileDb};
|
||||
use crate::tiles::TileDb;
|
||||
use derivative::Derivative;
|
||||
use egui_inspect::derive::Inspect;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Inspect)]
|
||||
pub(crate) struct WorldPos {}
|
||||
|
||||
#[derive(Derivative, Inspect)]
|
||||
#[derivative(Debug)]
|
||||
pub(crate) struct GameState {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ use game::GameState;
|
|||
mod command;
|
||||
mod debug;
|
||||
mod game;
|
||||
mod math;
|
||||
mod tiles;
|
||||
|
||||
pub(crate) struct App {
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
use egui_inspect::derive::Inspect;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt::Debug;
|
||||
#[derive(Clone, Copy, Debug, Inspect)]
|
||||
pub(crate) struct WorldPos {}
|
||||
/// Tile size in pixels
|
||||
pub(crate) const TILE_SIZE: u8 = 32;
|
||||
#[derive(Serialize, Deserialize, Debug, Inspect, Default, Clone, Copy)]
|
||||
pub(crate) struct IntRect {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue