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

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

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