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