mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 20:35:02 +01:00
manual
This commit is contained in:
parent
af3d9add2a
commit
31ab20d9f3
15 changed files with 41 additions and 109 deletions
18
src/game.rs
18
src/game.rs
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue