pub trait HasCooldown {
    // Required method
    fn cooldown(&self) -> u32;
}

Required Methods§

source

fn cooldown(&self) -> u32

The number of ticks until the object can be used again.

Implementors§