mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-16 20:12:27 -06:00
refactor: remove dead code, tune lints, remove useless tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use bevy_ecs::{component::Component, resource::Resource};
|
||||
|
||||
use crate::map::graph::TraversalFlags;
|
||||
use crate::{map::graph::TraversalFlags, systems::FruitType};
|
||||
|
||||
/// A tag component denoting the type of entity.
|
||||
#[derive(Component, Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
@@ -9,7 +9,8 @@ pub enum EntityType {
|
||||
Ghost,
|
||||
Pellet,
|
||||
PowerPellet,
|
||||
Fruit(crate::texture::sprites::FruitSprite),
|
||||
Fruit(FruitType),
|
||||
Effect,
|
||||
}
|
||||
|
||||
impl EntityType {
|
||||
|
||||
Reference in New Issue
Block a user