summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-14 09:56:40 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-14 10:01:13 -0500
commit9a4cd221f8206fb1533937170f47dcd19d574ef1 (patch)
tree14d7c270d3f621070f75b878c5df4a7b872c8008 /game
parentEnable more clippy lints (diff)
downloadDungeonCrawl-9a4cd221f8206fb1533937170f47dcd19d574ef1.tar.gz
DungeonCrawl-9a4cd221f8206fb1533937170f47dcd19d574ef1.tar.bz2
DungeonCrawl-9a4cd221f8206fb1533937170f47dcd19d574ef1.zip
Remove wildcard exports/imports
Diffstat (limited to 'game')
-rw-r--r--game/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
index 4d67a52..b79331b 100644
--- a/game/src/main.rs
+++ b/game/src/main.rs
@@ -1,6 +1,6 @@
use argh::FromArgs;
-use dungeon::*;
-use graphics::*;
+use dungeon::{Dungeon, player_input::PlayerInput, pos::Direction};
+use graphics::{Key, Window, WindowBuilder};
struct Game {
window: Window,
@@ -93,7 +93,7 @@ struct Args {
seed: Option<u64>,
}
-fn main() -> Result<()> {
+fn main() -> graphics::Result<()> {
// Parse arguments
let args: Args = argh::from_env();
// Load the window