use crate::shared::*; use bevy::utils::Duration; use serde::Deserialize; use serde::Serialize; use std::default::Default; // TODO `AbilitySlot::A`'s cooldown is unused // // cf. `Stats`' `attack_speed` #[derive(Component, Message, Serialize, Deserialize, Clone, Copy, PartialEq, Debug, Default)] pub struct Cooldown(pub [Duration; 7]); pub struct BaseCooldown(pub [Duration; 7]);