]> ruin.nu Git - hbs.git/blobdiff - bs/planet.cpp
added comboboxes for the battle and group in the info view
[hbs.git] / bs / planet.cpp
index 425861efbbf289afee2e6cd5518786bfd293f779..e8954e16e32700fcff56cdcd50c6c168c21bfeb0 100644 (file)
 Planet::Planet()
 {
        m_sRace = "Planet";
+       m_iScore = 0;
 }
+
 Planet::~Planet(){
 }
+
+unsigned Planet::score(int tick = 0)
+{
+       return m_iScore;
+}
+
+void Planet::setScore(unsigned i)
+{
+       m_iScore = i;
+}