Move Form and Species to traits, implement a bunch of mocks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-28 21:34:28 +01:00
parent c1e09c654b
commit bce636b97e
25 changed files with 447 additions and 155 deletions

View File

@@ -9,6 +9,14 @@ pub use learnable_moves::*;
#[doc(inline)]
pub use species::*;
#[cfg(test)]
pub(crate) mod tests {
pub use super::ability::tests::*;
pub use super::form::tests::*;
pub use super::learnable_moves::tests::*;
pub use super::species::tests::*;
}
/// An ability is a passive effect in battle that is attached to a Pokemon.
mod ability;
/// A form is a variant of a specific species. A species always has at least one form, but can have