use crate::shared::*; use serde::Deserialize; use serde::Serialize; #[derive(Component, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] pub enum Imperative { Idle, WalkTo(Vec2), Attack(PlayerId), }