diff options
Diffstat (limited to 'battles/src/Scenario.cpp')
-rw-r--r-- | battles/src/Scenario.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/battles/src/Scenario.cpp b/battles/src/Scenario.cpp deleted file mode 100644 index 49a9c7c..0000000 --- a/battles/src/Scenario.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include <kurator/battles/Scenario.h> - - -namespace kurator -{ -namespace battles -{ - - -int -Scenario::total_teams() const -{ - int last_team = 0; - for (const auto& ship : ships) { - if (ship.team > last_team) - last_team = ship.team; - } - return last_team + 1; -} - - -} // namespace battles -} // namespace kurator |