key card components
This commit is contained in:
@@ -8,6 +8,12 @@ use crate::{
|
|||||||
|
|
||||||
use super::{Interact, ui::InteractionOpportunity};
|
use super::{Interact, ui::InteractionOpportunity};
|
||||||
|
|
||||||
|
#[derive(Component, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
|
||||||
|
struct KeyCardId(u64);
|
||||||
|
|
||||||
|
#[derive(Component, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
|
||||||
|
struct OpenedByKey(KeyCardId);
|
||||||
|
|
||||||
pub fn plugin(_app: &mut App) {}
|
pub fn plugin(_app: &mut App) {}
|
||||||
|
|
||||||
pub fn handle_pick_up(
|
pub fn handle_pick_up(
|
||||||
|
|||||||
Reference in New Issue
Block a user