Trait EncounterServiceInterface

Source
pub trait EncounterServiceInterface: Send + Sync {
    // Required method
    fn roll_encounter(
        &self,
        time: DateTime<Tz>,
        weather: Weather,
        location_id: i32,
    ) -> GameResult<i32>;
}

Required Methods§

Source

fn roll_encounter( &self, time: DateTime<Tz>, weather: Weather, location_id: i32, ) -> GameResult<i32>

Implementors§