diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-20 18:23:20 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-20 18:23:20 -0500 |
| commit | 2d4644889dafa69c06e284b8b2cd18d2f65e57bc (patch) | |
| tree | c26f19e9eedc845d3bfd86557880257af334f0cf /graphics/src/lib.rs | |
| parent | dungeon: make chest items optional (no item = open) (diff) | |
| download | DungeonCrawl-2d4644889dafa69c06e284b8b2cd18d2f65e57bc.tar.gz DungeonCrawl-2d4644889dafa69c06e284b8b2cd18d2f65e57bc.tar.bz2 DungeonCrawl-2d4644889dafa69c06e284b8b2cd18d2f65e57bc.zip | |
dungeon: refactor player out of entity.rs
Diffstat (limited to 'graphics/src/lib.rs')
| -rw-r--r-- | graphics/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 02eb97f..fef5f9e 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -19,7 +19,6 @@ pub type Error = Box<dyn std::error::Error>; /// The `Result` type used witin this crate pub type Result<T> = std::result::Result<T, crate::Error>; -#[repr(u8)] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum Key { // Movement @@ -38,7 +37,7 @@ pub enum Key { F, Q, // Number - Number(u8), + Number(usize), // Debug keys F3, F4, |