X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fplanet.h;h=78c00b94531305a2a144227f363b604b821b79fe;hp=95b38936f0ad09da634ecf38c778bbccc188b541;hb=cb2fabf93c2f6ba8b57833309038adb972f58925;hpb=e0be1e6e8f7a246acf49e1f315c8d5bc5a65bfa3 diff --git a/bs/planet.h b/bs/planet.h index 95b3893..78c00b9 100644 --- a/bs/planet.h +++ b/bs/planet.h @@ -21,6 +21,7 @@ #include "fleet.h" typedef std::map > RoidList; +typedef std::map > > > > ReportList; /**This class is the implementation of a planet. * @@ -90,6 +91,8 @@ public: float capping(int tick = 0); void setCapping(float capping, int tick = 0); + ReportList report() const; + protected: /** This function is used to start the calculations of a single tick of the * battle on the current planet. It's protected because it's not really meant @@ -106,6 +109,7 @@ protected: std::vector m_Score; std::vector m_Capping; RoidList m_Roids; + ReportList m_Report; };