Struct Score
mold2d::score
pub struct Score { /* fields omitted */ }
Maintains multiple updatable scores
impl Score
fn new() -> Score
fn add_score(&mut self, name: &str)
fn remove_score(&mut self, name: &str)
fn update_score(&mut self, name: &str, new_score: i64)
fn increment_score(&mut self, name: &str, increment_amount: i32)
fn score(&self, counter_name: &str) -> Option<i64>