]> ruin.nu Git - hbs.git/blob - bs/planet.cpp
e8954e16e32700fcff56cdcd50c6c168c21bfeb0
[hbs.git] / bs / planet.cpp
1 /***************************************************************************
2                           planet.cpp  -  description
3                              -------------------
4     begin                : Wed Apr 3 2002
5     copyright            : (C) 2002 by Michael Andreen
6     email                : whale@linux.nu
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #include "planet.h"
19
20 Planet::Planet()
21 {
22         m_sRace = "Planet";
23         m_iScore = 0;
24 }
25
26 Planet::~Planet(){
27 }
28
29 unsigned Planet::score(int tick = 0)
30 {
31         return m_iScore;
32 }
33
34 void Planet::setScore(unsigned i)
35 {
36         m_iScore = i;
37 }