diff options
Diffstat (limited to 'src/shared/ability.rs')
-rw-r--r-- | src/shared/ability.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shared/ability.rs b/src/shared/ability.rs index cab7ae6..e776015 100644 --- a/src/shared/ability.rs +++ b/src/shared/ability.rs @@ -6,8 +6,9 @@ use std::ops::*; #[derive(Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] pub enum Ability { - Targeted(TargetedAbility), + Activated(ActivatedAbility), Directional(DirectionalAbility), + Targeted(TargetedAbility), } #[derive(Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] @@ -42,6 +43,11 @@ impl TargetedAbility { } #[derive(Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] +pub enum ActivatedAbility { + Speed, +} + +#[derive(Copy, Clone, PartialEq, Debug, Deserialize, Serialize)] pub enum DirectionalAbility { Spear, } |