Move Form and Species to traits, implement a bunch of mocks
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:
@@ -76,16 +76,16 @@ pub enum Event<'own> {
|
||||
/// The pokemon that changed species.
|
||||
pokemon: &'own Pokemon,
|
||||
/// The new species of the Pokemon.
|
||||
species: Arc<Species>,
|
||||
species: Arc<dyn Species>,
|
||||
/// The form of the species the Pokemon will have.
|
||||
form: Arc<Form>,
|
||||
form: Arc<dyn Form>,
|
||||
},
|
||||
/// This event happens when a Pokemon changes form during battle. This is rather common.
|
||||
FormChange {
|
||||
/// The pokemon that changed forms.
|
||||
pokemon: &'own Pokemon,
|
||||
/// The new form of the Pokemon.
|
||||
form: &'own Form,
|
||||
form: Arc<dyn Form>,
|
||||
},
|
||||
/// This event happens when a Pokemon takes damage.
|
||||
Damage {
|
||||
|
||||
Reference in New Issue
Block a user