mirror of
https://github.com/kwsch/pkNX.git
synced 2026-08-26 04:20:28 -05:00
Initial Commit
This commit is contained in:
28
pkNX.Structures/Evolution/EvolutionMethod.cs
Normal file
28
pkNX.Structures/Evolution/EvolutionMethod.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace pkNX.Structures
|
||||
{
|
||||
/// <summary>
|
||||
/// Criteria for evolving to another species.
|
||||
/// </summary>
|
||||
public class EvolutionMethod
|
||||
{
|
||||
public EvolutionType Method;
|
||||
public int Species;
|
||||
public int Argument;
|
||||
public int Form = -1;
|
||||
public int Level;
|
||||
|
||||
public EvolutionMethod Copy(int species = -1)
|
||||
{
|
||||
if (species < 0)
|
||||
species = Species;
|
||||
return new EvolutionMethod
|
||||
{
|
||||
Method = Method,
|
||||
Species = species,
|
||||
Argument = Argument,
|
||||
Form = Form,
|
||||
Level = Level
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user