+//////////////////////////////////////////////////////////////////////////
+//
+void Planet::runBattle(std::vector<Fleet*> friendly, std::vector<Fleet*> hostile)
+{
+ for(int tick = 1; ; ++tick)
+ {
+ //See who's in the battle at the current tick
+ vector<Fleet*> friends = calculateSide(friendly, 6, tick);
+ vector<Fleet*> hostiles = calcualteSide(hostile, 3, tick);
+
+ // No idea to calculate anything if noone is there.. ;)
+ if (hostiles.size() == 0)
+ break;
+
+ Planet allFriends;
+ allFriends.addToThis(friends);
+
+ Fleet allHostiles;
+ allHostiles.addToThis(hostiles);
+
+ calculateOneTick(&allFriends, &allHostiles);
+
+ allFriends.distributeLossesGains(friends, tick);
+ allHostile.distributeLossesGains(friends, tick);
+ }
+}
+
+//////////////////////////////////////////////////////////////////////////
+//
+void calcOneTick(Planet* friendly, Fleet* Hostile)
+{
+}