blob: d11f6ee3ad06b857ef6db30e63bae448c4a4f220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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),
}
|