blob: e2c3318bd768e478157c8d9717ca0ba323f8dce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use bevy::prelude::*;
use bevy::utils::Duration;
use lightyear::prelude::*;
use serde::*;
use std::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]);
|