(autoformat)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
//! TODO: module doc :v
|
||||
|
||||
use bevy::ecs::component::Component;
|
||||
|
||||
/// Value for the "sub tiles" inside a room tile
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
pub enum Cell {
|
||||
@@ -47,7 +49,7 @@ pub enum RotationDir {
|
||||
|
||||
/// An invidiual room, or "card" in the player's hand. The room may
|
||||
/// *or may not* be valid, yet.
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
#[derive(Clone, Copy, Component, Debug, Default, PartialEq)]
|
||||
pub struct Card {
|
||||
cells: [Cell; 9],
|
||||
nw: bool,
|
||||
|
||||
Reference in New Issue
Block a user