mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-16 04:12:37 -06:00
refactor!: begin switching to bevy ECS, all tests broken, all systems broken
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
use glam::IVec2;
|
||||
|
||||
/// The four cardinal directions.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
|
||||
#[repr(usize)]
|
||||
pub enum Direction {
|
||||
Up,
|
||||
Down,
|
||||
Left,
|
||||
#[default]
|
||||
Right,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user