]> ruin.nu Git - hbs.git/blob - bs/fleet.h
7c2f817f4f60b6afb43d7c9d87633f072b3c9fc3
[hbs.git] / bs / fleet.h
1 /***************************************************************************
2                           fleet.h  -  description
3                              -------------------
4     begin                : Tue Jan 22 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 FLEET_H
19 #define FLEET_H
20
21 #include <map>
22 #include <string>
23
24 #include "unittype.h"
25
26 //!This is the engine for the whole battlesystem.
27 /**This is the engine for the whole battlesystem.
28   *     One of the few parts that I plan make fully portable.
29   *@author Michael Andreen
30   */
31
32 class Fleet 
33 {
34 public: 
35         Fleet();
36         ~Fleet();
37
38 private:
39         std::string     m_Name;
40         std::string     m_Race;
41         std::map<std::string, std::vector<int> >        m_Fleet;
42
43         static std::map<std::string, UnitType>  m_Units;
44 };
45
46 #endif