X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fplanet.h;h=e59007ceebbc46c307d78cc84d96122deb092203;hb=c2dd8856c3d97667953a0b73403b5e5cade5ce9b;hp=5e2b13a40f6e6fc53a3427fa0d55b73ef188b643;hpb=595e711e719a6e6b675b1f40e3e141cd9b770fd9;p=hbs.git diff --git a/bs/planet.h b/bs/planet.h index 5e2b13a..e59007c 100644 --- a/bs/planet.h +++ b/bs/planet.h @@ -20,7 +20,7 @@ #include "fleet.h" -typedef std::map RoidList; +typedef std::map > RoidList; /**This class is the implementation of a planet. * @@ -42,6 +42,8 @@ public: int roids(std::string type, int tick = 0) const; void setRoids(std::string type, int number); + void runBattle(std::vector friendly, std::vector hostile); + protected: unsigned m_iScore; RoidList m_Roids;