aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/cooldown.rs
blob: 8f7252059ee6388e1c076f99ae4a08f07ed764c0 (plain)
1
2
3
4
5
6
7
8
9
10
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 [Duration; 7]);

pub struct BaseCooldown(pub [Duration; 7]);