Make PokemonParty use List instead of vector.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
6abef0ddc8
commit
5a6d1d13f9
|
@ -7,7 +7,7 @@
|
||||||
namespace PkmnLib::Battling {
|
namespace PkmnLib::Battling {
|
||||||
class PokemonParty : public CreatureLib::Battling::CreatureParty {
|
class PokemonParty : public CreatureLib::Battling::CreatureParty {
|
||||||
public:
|
public:
|
||||||
PokemonParty(std::vector<CreatureLib::Battling::Creature*> party)
|
PokemonParty(List<CreatureLib::Battling::Creature*> party)
|
||||||
: CreatureLib::Battling::CreatureParty(std::move(party)) {}
|
: CreatureLib::Battling::CreatureParty(std::move(party)) {}
|
||||||
PokemonParty(std::initializer_list<CreatureLib::Battling::Creature*> party)
|
PokemonParty(std::initializer_list<CreatureLib::Battling::Creature*> party)
|
||||||
: CreatureLib::Battling::CreatureParty(party) {}
|
: CreatureLib::Battling::CreatureParty(party) {}
|
||||||
|
|
Loading…
Reference in New Issue