Debian Codegraph @

src/gameconfig.h

raw
1 // Copyright © 2002 Rob Kaper <[email protected]>
2 // 2010-2015 Sylvain Rochet <[email protected]>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // version 2 as published by the Free Software Foundation.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; see the file COPYING. If not, see
15 // <http://www.gnu.org/licenses/>.
16
17 #ifndef MONOP_GAMECONFIG_H
18 #define MONOP_GAMECONFIG_H
19
20 #include <string>
21
22 class GameConfig
23 {
24 public:
25 GameConfig(const std::string &id, const std::string &name, const std::string &description);
26
27 const std::string id() { return m_id; }
28 const std::string name() { return m_name; }
29 const std::string description() { return m_description; }
30
31 private:
32 std::string m_id, m_name, m_description;
33 };
34
35 #endif // MONOP_GAMECONFIG_H