diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-07-20 22:30:54 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-07-20 22:30:54 +0000 |
| commit | 96058e330b9a535ec3aecc40cfbd2fa74b791cd8 (patch) | |
| tree | 5afa3a01da6345b4f173e9578e0f7b0219cb9759 /pokebattle/Team.cpp | |
| parent | a44d3c2ebd20e05c7c574cd3a13888fc471067b9 (diff) | |
[FIX] Slimmed up main() for pokemodr
[FIX] Cleaned up initializing TeamMember
[FIX] Hat fixed up
[ADD] Added ActionQueue (thread-safe QQueue)
[FIX] Arena classes fleshed out a bit
[ADD] ATBTimer class added to mediate the ATB counters
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@228 6ecfd1a5-f3ed-3746-8530-beee90d26b22
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; +} |
