]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.h
forgot a few things...
[hbs.git] / bs / fleet.h
index 9a0995a23127e7d2f359580309f1c791245285f7..f1d96affc4fb1264464f704c55db3262eb5b4646 100644 (file)
@@ -28,8 +28,8 @@
 typedef std::map<std::string, std::vector<int> > FleetList;
 typedef std::map<std::string, UnitType>        UnitList;
 typedef std::map<std::string, std::vector<int> > RaceList;
-//!This is the engine for the whole battlesystem.
-/**This is the engine for the whole battlesystem.
+//! An abstraction of a fleet and the engine for the battle simulation.
+/**This class and it's derivates is  the engine for the whole battlesystem.
   *    One of the few parts that I plan make fully portable.
   *\todo LOTS (I think ;)
   *@author Michael Andreen
@@ -96,7 +96,16 @@ public:
        static const RaceList& Races();
        static const UnitList& Units();
 
+       void addToThis(std::vector<Fleet*> fleets, int tick = 0);
+
+       void distributeLossesGains(std::vector<Fleet*> fleets, int tick = 0);
+
+       std::vector<Fleet*> calculateSide(std::vector<Fleet*> fleets, int stays = 0, int tick = 0);
+
+
 protected:
+
+
        std::string     m_sName;
        std::string     m_sRace;
        int         m_iETA;