Loads more work on battling, initial stretch to run a turn done.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -3,6 +3,7 @@ use crate::static_data::Gender;
|
||||
use crate::Random;
|
||||
use crate::StringKey;
|
||||
use hashbrown::{HashMap, HashSet};
|
||||
use std::lazy::SyncLazy;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Species<'a> {
|
||||
@@ -14,9 +15,8 @@ pub struct Species<'a> {
|
||||
forms: HashMap<StringKey, Form<'a>>,
|
||||
flags: HashSet<StringKey>,
|
||||
}
|
||||
lazy_static::lazy_static! {
|
||||
static ref DEFAULT_KEY: StringKey = StringKey::new("default");
|
||||
}
|
||||
|
||||
static DEFAULT_KEY: SyncLazy<StringKey> = SyncLazy::new(|| StringKey::new("default"));
|
||||
|
||||
impl<'a> Species<'a> {
|
||||
pub fn new(
|
||||
|
||||
Reference in New Issue
Block a user