Initial work on outlining the dynamic side of the library.
This commit is contained in:
@@ -44,7 +44,7 @@ pub struct MoveData {
|
||||
|
||||
impl MoveData {
|
||||
pub fn new(
|
||||
name: String,
|
||||
name: &str,
|
||||
move_type: u8,
|
||||
category: MoveCategory,
|
||||
base_power: u8,
|
||||
@@ -56,7 +56,7 @@ impl MoveData {
|
||||
flags: HashSet<String>,
|
||||
) -> MoveData {
|
||||
MoveData {
|
||||
name,
|
||||
name: name.to_string(),
|
||||
move_type,
|
||||
category,
|
||||
base_power,
|
||||
|
||||
Reference in New Issue
Block a user