skill_cooldown_system

Function skill_cooldown_system 

Source
pub fn skill_cooldown_system<S>(
    time: &Time,
    skill_instances: &mut Components<SkillSet<S>>,
) -> Result<(), EcsError>
where S: Hash + Eq,
Expand description

Ticks down the cooldown of skill instances for each entity having a SkillSet component.