Orxonox  0.0.5 Codename: Arcturus
Wagnis.h
Go to the documentation of this file.
1 /*
2  * ORXONOX - the hottest 3D action shooter ever to exist
3  * > www.orxonox.net <
4  *
5  *
6  * License notice:
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  * Authors:
23  *
24  * Co-authors:
25  * ...
26  *
27  */
28 
29 
30 
31 #ifndef Wagnis_h
32 #define Wagnis_h
33 
34 #include "WagnisPrereqs.h"
35 #include "WagnisGameboard.h"
36 #include "WagnisProvince.h"
37 #include "WagnisPlayer.h"
38 #include "gametypes/Deathmatch.h"
39 
40 
58 namespace orxonox
59 {
60  class Wagnis : public Deathmatch
61  {
62  public:
63  Wagnis(Context* context);
64  virtual ~Wagnis();
65  void start();
66  void tick(float);
68 
69 
70 
72 
76  std::vector<WagnisPlayer*> players;
77  void createGame();
78  bool findGameBoard();
79  int provinceCount();
80  int reinforcementsCounter(int);
81  int getContinentValue(int);
82  int unoccupiedProvinces();
83  };
84 }
85 #endif
86  /* Wagnis_h */
Definition: Wagnis.h:60
GameStage
Definition: WagnisPrereqs.h:74
void createGame()
Definition: Wagnis.cc:181
int provinceCount()
Definition: Wagnis.cc:205
int initial_reinforcements_left
Definition: Wagnis.h:74
Definition: WagnisPlayer.h:28
bool findGameBoard()
Definition: Wagnis.cc:195
int unoccupiedProvinces()
Definition: Wagnis.cc:219
Shared library macros, enums, constants and forward declarations for the questsystem module ...
int active_player
Definition: Wagnis.h:73
std::vector< WagnisPlayer * > players
Definition: Wagnis.h:76
int getContinentValue(int)
Definition: Wagnis.cc:261
GameStage gameStage
Definition: Wagnis.h:75
Definition: WagnisGameboard.h:24
void playerFinishedStageCallback(WagnisPlayer *)
Callback function for Player classes.
Definition: Wagnis.cc:63
WagnisGameboard * gameBoard
Definition: Wagnis.h:71
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
virtual ~Wagnis()
Definition: Wagnis.cc:29
Wagnis(Context *context)
Definition: Wagnis.cc:13
Definition: Context.h:45
void start()
Definition: Wagnis.cc:33
Definition: Deathmatch.h:37
int reinforcementsCounter(int)
Definition: Wagnis.cc:231
void tick(float)
Gets called every frame.
Definition: Wagnis.cc:51