- static const std::map<std::string, std::vector<int> >& Races();
- static const std::map<std::string, UnitType>& Units();
+ /**Returns the score. This value is the total resources spent on this fleet
+ * devided with 10.
+ * \param tick tells the function what tick you want the score from. 0 is
+ * initial score before the fleet has landed.
+ */
+ unsigned score(int tick = 0) const;
+
+ void setFleet(std::string unittype, int number, int tick = 0);
+ int fleet(std::string unittype, int tick = 0);
+
+ int freeFleet(std:: string unittype, int tick = 0);
+
+ static void setRaces(RaceList& races);
+ static void setUnits(UnitList& units);
+
+ static const RaceList& Races();
+ static const UnitList& Units();
+
+ void addToThis(std::vector<Fleet*> fleets, int tick = 0);