aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/activation.rs
blob: 3ca6956901674e7836c333d5f549a965c6c39339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::shared::ability::*;
use crate::shared::*;
use serde::Deserialize;
use serde::Serialize;

#[derive(Component, Message, Copy, Clone, PartialEq, Debug, Deserialize, Serialize)]
pub enum Activation {
    Activate(AbilitySlot),
    None,
}

impl Default for Activation {
    fn default() -> Self {
        Activation::None
    }
}