Files
PkmnLib_rs/src/defines.rs
Deukhoofd b1890681a1
All checks were successful
continuous-integration/drone/push Build is passing
A lot more work on WASM script execution
2022-09-07 18:01:26 +02:00

9 lines
479 B
Rust
Executable File

/// The type we store a level in. As our implementation is aimed at normal Pokemon behaviour, a u8
/// is probably enough, as we'd go up to 100. For other users this might however not be enough. This
/// allows them to easily change it.
pub type LevelInt = u8;
/// The amount of moves a Pokemon can have at once. This is set to 4, as that is the default in most
/// current Pokemon generations. A developer should be able to modify this however.
pub const MAX_MOVES: usize = 4;