evolution-rs/src/hand.rs
2025-02-16 21:29:52 +03:00

15 lines
210 B
Rust

use bevy::prelude::*;
#[derive(Component)]
pub struct Hand {
pub name: String
}
impl Hand {
pub fn new(name: String) -> Hand {
Hand { name }
}
}
#[derive(Component)]
pub struct HandCard;