Newer
Older
pub struct Score(pub f32);
This trait defines new Scorers. In general, you should use the [derive macro](derive.Scorer.html) instead.
pub trait Scorer: std::fmt::Debug + Sync + Send {
fn build(&self, entity: Entity, cmd: &mut Commands) -> ScorerEnt;