This commit is contained in:
nora 2023-04-17 21:51:49 +02:00
parent af3d9add2a
commit 31ab20d9f3
15 changed files with 41 additions and 109 deletions

View file

@ -1,21 +1,7 @@
use std::path::PathBuf;
use crate::{math::WorldPos, tiles::TileDb};
use derivative::Derivative;
use egui_inspect::derive::Inspect;
use sfml::{
graphics::{
Color, Rect, RectangleShape, RenderTarget, RenderTexture, Shape, Sprite,
Transformable,
},
system::{Vector2f, Vector2u},
window::Key,
};
use crate::{
graphics::{ScreenSc, ScreenVec},
input::Input, inventory::{Inventory, ItemDb},
math::{smoothwave, wp_to_tp, WorldPos},
res::Res, tiles::TileDb, world::{TilePos, World},
worldgen::Worldgen,
};
#[derive(Derivative, Inspect)]
#[derivative(Debug)]
pub(crate) struct GameState {