Advanced Strategic Command
mapitemtype.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef mapitemtypeH
11  #define mapitemtypeH
12 
13  #include "ascstring.h"
14 
16 class MapItemType {
17  public:
18  virtual ASCString getName() const = 0;
19  virtual int getID() const = 0;
20  virtual ~MapItemType() {};
21 };
22 
23 #endif
virtual int getID() const =0
The ASCString class provides an abstract way to manipulate strings.
Definition: ascstring.h:14
virtual ~MapItemType()
Definition: mapitemtype.h:20
The base class for everything that can be placed on a map field.
Definition: mapitemtype.h:16
virtual ASCString getName() const =0