]> ruin.nu Git - hbs.git/blob - bs/planet.h
initial commit
[hbs.git] / bs / planet.h
1 /***************************************************************************
2                           planet.h  -  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 #ifndef PLANET_H
19 #define PLANET_H
20
21 #include "fleet.h"
22
23 /**This class is the implementation of a planet.
24  *
25  * Yes I know.. In real life you wouldn't call a planet a fleet, but this isn't
26  * real life, it's a game engine, and in this engine a planet got all the 
27  * attributes that a fleet got + some additions, so I think the inheritance
28  * is fully legal from a OOP standpoint. If it isn't, then please correct me ;)
29   *@author Michael Andreen
30   */
31
32 class Planet : public Fleet  {
33 public: 
34         Planet();
35         ~Planet();
36         unsigned score();
37 };
38
39 #endif