From dbb17f0c48ffe2152cf519f5646a57833b36ee24 Mon Sep 17 00:00:00 2001 From: Arkitu <85173315+Arkitu@users.noreply.github.com> Date: Sun, 16 Mar 2025 21:12:15 +0100 Subject: [PATCH] animal --- src/animals.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/animals.rs b/src/animals.rs index 2cc34ca..76f7608 100644 --- a/src/animals.rs +++ b/src/animals.rs @@ -3,17 +3,16 @@ use bevy::prelude::*; pub struct Plugin; impl bevy::prelude::Plugin for Plugin { fn build(&self, app: &mut App) { - + } } -#[derive(PartialEq, Eq)] - +#[derive(PartialEq, Eq, Clone, Copy)] pub enum AnimalKind { - Goat + Goat, } #[derive(Component)] pub struct Animal { - -} \ No newline at end of file + kind: AnimalKind +}