doors and door directions - RA
This commit is contained in:
parent
1fa7432dfe
commit
97ca3a25e3
2 changed files with 69 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
use lazy_static::lazy_static;
|
||||
use bracket_lib::prelude::*;
|
||||
|
||||
pub const HEIGHT: usize = 64;
|
||||
pub const WIDTH: usize = 64;
|
||||
|
||||
pub enum Operator {
|
||||
LessThan,
|
||||
GreaterThan,
|
||||
|
|
@ -58,7 +61,7 @@ lazy_static! {
|
|||
];
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub enum Direction {
|
||||
NoDir = -1,
|
||||
North = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue