]> ruin.nu Git - hbs.git/blobdiff - bs/planet.cpp
fixed an evil vector bug..
[hbs.git] / bs / planet.cpp
index 03c45370700acb53018ce2c342cebaa477cc0992..e8954e16e32700fcff56cdcd50c6c168c21bfeb0 100644 (file)
 
 #include "planet.h"
 
-Planet::Planet(){
+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;
+}