forked from 2ndbeam/evolution-rs
returned hand
This commit is contained in:
parent
c98f8fdb74
commit
78af40ba77
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,11 @@
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
|
|
||||||
|
#[derive(Component)]
|
||||||
|
pub struct Hand {
|
||||||
|
pub name: String,
|
||||||
|
pub cards: Vec<Entity>,
|
||||||
|
pub animals: Vec<Entity>
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Component)]
|
#[derive(Component)]
|
||||||
pub struct HandCard;
|
pub struct HandCard;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue