use crate::shared::ability::*; use crate::shared::player::*; use bevy::prelude::*; use lightyear::prelude::*; use serde::*; #[derive(Component, Message, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] pub enum Imperative { Idle, WalkTo(Vec2), AttackDirection(AbilitySlot, Vec2), AttackTarget(AbilitySlot, PlayerId), }