diff options
Diffstat (limited to 'pokebattle/Team.cpp')
| -rw-r--r-- | pokebattle/Team.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/pokebattle/Team.cpp b/pokebattle/Team.cpp index bb519248..6a4adbb9 100644 --- a/pokebattle/Team.cpp +++ b/pokebattle/Team.cpp @@ -60,14 +60,8 @@ // if ((a < pokemon.size()) && pokemon[a]->CanFight()) // active = a; // } -// -// unsigned Team::CanFight() const -// { -// unsigned alive = 0; -// for (unsigned i = 0; (i < pokemon.size()) && !alive; ++i) -// { -// if (pokemon[i]->CanFight()) -// ++alive; -// } -// return alive; -// } + +bool Pokebattle::Team::isMutable() const +{ + return true; +} |
