Update tester, implements attract
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:
@@ -2,6 +2,7 @@ func bool Require(bool expression);
|
||||
func bool RequireEquals(int expected, int actual);
|
||||
func bool RequireEquals(const string &in expected, const string &in actual);
|
||||
|
||||
func Party@ CreateParty(const array<Pokemon@>&in species);
|
||||
func Party@ CreateSimpleParty(const array<constString>&in species, uint8 level);
|
||||
func Battle@ CreateSimpleBattle(uint seed, const constString&in species1, const constString&in species2, uint8 level);
|
||||
func Battle@ CreateSimpleBattle(uint seed, Party@ p1, Party@ p2);
|
||||
@@ -14,4 +15,22 @@ type Pokemon {
|
||||
bool UseMove(const constString&in move, uint8 side, uint8 index);
|
||||
bool PassTurn();
|
||||
bool LearnMove(const constString&in move);
|
||||
}
|
||||
}
|
||||
|
||||
type PokemonBuilder {
|
||||
PokemonBuilder@ WithForme(const constString&in forme);
|
||||
PokemonBuilder@ WithGender(Gender gender);
|
||||
PokemonBuilder@ IsShiny(bool value);
|
||||
PokemonBuilder@ WithHeldItem(const constString&in item);
|
||||
PokemonBuilder@ LearnMove(const constString&in move, MoveLearnMethod method);
|
||||
PokemonBuilder@ WithIndividualValues(uint8 hp,uint8 att,uint8 def,uint8 spa,uint8 spd,uint8 speed);
|
||||
PokemonBuilder@ WithEffortValues(uint8 hp,uint8 att,uint8 def,uint8 spa,uint8 spd,uint8 speed);
|
||||
PokemonBuilder@ WithNature(const constString&in nature);
|
||||
PokemonBuilder@ WithNickname(const string&in name);
|
||||
|
||||
Pokemon@ Build(uint seed = 0);
|
||||
}
|
||||
|
||||
func PokemonBuilder@ CreatePokemonBuilder(const constString&in species, uint8 level);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user