use crate::shared::*; use bevy::utils::Duration; use serde::Deserialize; use serde::Serialize; use std::default::Default; #[derive(Component, Message, Serialize, Deserialize, Clone, Copy, PartialEq, Debug, Default)] pub struct Cooldown { pub a_cooldown: Duration, pub q_cooldown: Duration, pub w_cooldown: Duration, pub e_cooldown: Duration, pub r_cooldown: Duration, pub d_cooldown: Duration, pub f_cooldown: Duration, pub g_cooldown: Duration, }