* \return returns the number of units that params specifies.
*/
int freeFleet(std:: string unittype, int tick = 0);
+
+ /** This function is used to see how many ships of a specific type got
+ * blocked at a specific tick.
+ * \param unittype the name of the unittype
+ * \param tick what tick you want to look at
+ * \return the number of ships that got blocked at the specified tick.
+ */
+ int blockedFleet(std::string unittype, int tick = 0);
+ void setBlockedFleet(std::string unittype, int number, int tick = 0);
+
/** This function takes the vector with fleets and adds all their units of the
* specific tick to the current fleet's first tick. Main usage is for battle
* calculations.
void printFleet();
//static functions
+ //
/** This function is used to set the different races used.
* \param races a Simple RaceList which holds all the info
*/