mirror of
https://github.com/kristoferssolo/maze-ascension.git
synced 2025-10-21 19:20:34 +00:00
20 lines
362 B
Rust
20 lines
362 B
Rust
use bevy::prelude::*;
|
|
|
|
#[derive(Debug, Reflect, Component)]
|
|
#[reflect(Component)]
|
|
pub struct Floor(pub u8);
|
|
|
|
#[derive(Debug, Reflect, Component)]
|
|
#[reflect(Component)]
|
|
pub struct TargetFloor(pub u8);
|
|
|
|
#[derive(Debug, Reflect, Component)]
|
|
#[reflect(Component)]
|
|
pub struct CurrentFloor;
|
|
|
|
impl Default for Floor {
|
|
fn default() -> Self {
|
|
Self(1)
|
|
}
|
|
}
|