]> ruin.nu Git - hbs.git/blobdiff - bs/planet.h
added comboboxes for the battle and group in the info view
[hbs.git] / bs / planet.h
index f98d7234c74e5bdf30c07ae646f68be5c1beb268..ccb2ee40f4b5bb7a18ff3ac38bd5699be8680a0b 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "fleet.h"
 
+typedef std::map<std::string, int> RoidList;
+
 /**This class is the implementation of a planet.
  *
  * Yes I know.. In real life you wouldn't call a planet a fleet, but this isn't
 class Planet : public Fleet  {
 public: 
        Planet();
-       ~Planet();
-       unsigned score();
+       virtual ~Planet();
+
+       unsigned score(int tick = 0);
+       void setScore(unsigned i);
+
+protected:
+       unsigned m_iScore;
+       RoidList m_Roids;
+       
 };
 
 #endif