Make PokemonParty use List instead of vector.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-04-19 18:12:42 +02:00
parent 6abef0ddc8
commit 5a6d1d13f9
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
namespace PkmnLib::Battling {
class PokemonParty : public CreatureLib::Battling::CreatureParty {
public:
PokemonParty(std::vector<CreatureLib::Battling::Creature*> party)
PokemonParty(List<CreatureLib::Battling::Creature*> party)
: CreatureLib::Battling::CreatureParty(std::move(party)) {}
PokemonParty(std::initializer_list<CreatureLib::Battling::Creature*> party)
: CreatureLib::Battling::CreatureParty(party) {}