+ /** Used to set the number of roid at a specific tick
+ * \param type the for this roid (for pa: metal, crystal, eonium, uninit)
+ * \param tick what tick you want to get the number from.
+ * \param number the number of roids you want to set.
+ */
+ void setRoids(std::string type, int number, int tick = 0);
+ /** This function is used to remove a specific number of roids without
+ * knowing how many the total is.
+ * \param type the for this roid (for pa: metal, crystal, eonium, uninit)
+ * \param tick what tick you want to get the number from.
+ * \param number the number of roids you want to take.
+ */
+ void takeRoids(std::string type, int number, int tick = 0);
+
+ /** This function is used to start the batlle calculations on the current
+ * planet. It doesn't touch tick 0 on any of the fleet that fight in the
+ * battle, but all other ticks might be touched.
+ * \param friendly a vector with pointers to all friendly Fleet:s.
+ * \param hostile a vector with pointers to all hostile Fleet:s.
+ */
+ void runBattle(std::vector<Fleet*> friendly, std::vector<Fleet*> hostile);
+
+ void calculateScoreLoss(std::vector<Fleet*> friendly, int tick = 1);
+
+ float capping(int tick = 0);
+ void setCapping(float capping, int tick = 0);