forked from 2ndbeam/evolution-rs
property array for animal (traits sync and send are not yet implemented)
This commit is contained in:
parent
a3d619bdd0
commit
ba9be4e17b
2 changed files with 10 additions and 6 deletions
|
|
@ -1,6 +1,9 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
use crate::properties::Property;
|
||||
|
||||
#[derive(Component)]
|
||||
pub struct Animal {
|
||||
//pub properties: Vec<тут крч пропертис>
|
||||
}
|
||||
pub properties: Vec<Box<dyn Property>>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue