1/*******************************************************************
2 *
3 * Copyright 2013 Denis Kuplyakov <dener.kup@gmail.com>
4 *
5 * This file is part of the KDE project "KReversi"
6 *
7 * KReversi is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * KReversi is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with KReversi; see the file COPYING. If not, write to
19 * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 ********************************************************************/
23
24#ifndef GAMESTARTINFORMATION_H
25#define GAMESTARTINFORMATION_H
26
27#include <QString>
28
29/**
30 * Represents information gathered from user by StartGameDialog.
31 */
32class GameStartInformation
33{
34
35public:
36 /**
37 * Indicates player type
38 */
39 enum PlayerType {
40 /** Human player */
41 Human,
42 /** AI (or Computer) player */
43 AI
44 };
45
46 /**
47 * PlayerType for each player.
48 * Use it like: type[Black]
49 */
50 PlayerType type[2];
51 /**
52 * Name for each player.
53 * Use it like: name[Black]
54 */
55 QString name[2];
56 /**
57 * Skill for each player.
58 * Has no sense for Human player
59 * Use it like: skill[Black]
60 */
61 int skill[2];
62};
63
64#endif // GAMESTARTINFORMATION_H
65