blob: 4291368b5d79c30d28201f63ba5ff776f4b876b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use crate::shared::ability::*;
use crate::shared::player::*;
use crate::shared::*;
use serde::Deserialize;
use serde::Serialize;
#[derive(Component, Message, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)]
pub enum Imperative {
Idle,
WalkTo(Vec2),
AttackDirection(AbilitySlot, Vec2),
AttackTarget(AbilitySlot, PlayerId),
}
|