animal
This commit is contained in:
parent
74708f8b7b
commit
dbb17f0c48
@ -3,17 +3,16 @@ use bevy::prelude::*;
|
|||||||
pub struct Plugin;
|
pub struct Plugin;
|
||||||
impl bevy::prelude::Plugin for Plugin {
|
impl bevy::prelude::Plugin for Plugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||||
|
|
||||||
pub enum AnimalKind {
|
pub enum AnimalKind {
|
||||||
Goat
|
Goat,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Component)]
|
#[derive(Component)]
|
||||||
pub struct Animal {
|
pub struct Animal {
|
||||||
|
kind: AnimalKind
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user