diff options
Diffstat (limited to 'src/shared/imperative.rs')
-rw-r--r-- | src/shared/imperative.rs | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/shared/imperative.rs b/src/shared/imperative.rs index afdf244..44a0e43 100644 --- a/src/shared/imperative.rs +++ b/src/shared/imperative.rs @@ -8,17 +8,6 @@ use serde::Serialize; pub enum Imperative { Idle, WalkTo(Vec2), - AttackTarget(TargetedAbility, PlayerId), - AttackDirection(DirectionalAbility, Vec2), -} - -#[derive(Resource, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] -pub enum AttackKey { - A, - Q, - W, - E, - R, - F, - G, + AttackTarget(AbilitySlot, PlayerId), + AttackDirection(AbilitySlot, Vec2), } |