Phoenix2D-Library  0.10
Game.h
Go to the documentation of this file.
1 /*
2  * Phoenix2D (RoboCup Soccer Simulation 2D League)
3  * Copyright (c) 2013 Ivan Gonzalez
4  *
5  * This file is part of Phoenix2D.
6  *
7  * Phoenix2D 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 3 of the License, or
10  * (at your option) any later version.
11  *
12  * Phoenix2D 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 Phoenix2D. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef GAME_H_
22 #define GAME_H_
23 
24 #include <string>
25 
26 
30 namespace Phoenix
31 {
36 class Game {
37 public:
38  static unsigned int SIMULATION_TIME;
39  static unsigned int GAME_TIME;
40  static unsigned int GOALS;
41  static unsigned int GOALS_AGAINST;
42  static std::string PLAY_MODE;
43  static bool nextCycle();
44  Game();
45  ~Game();
46  void updateTime(int game_time);
47  void updatePlayMode(std::string play_mode);
48 };
49 } // End namespace Phoenix
52 #endif /* GAME_H_ */
void updatePlayMode(std::string play_mode)
Definition: Game.cpp:70
static bool nextCycle()
Definition: Game.cpp:92
static unsigned int GOALS_AGAINST
Definition: Game.h:41
static std::string PLAY_MODE
Definition: Game.h:42
static unsigned int GOALS
Definition: Game.h:40
static unsigned int SIMULATION_TIME
Definition: Game.h:38
static unsigned int GAME_TIME
Definition: Game.h:39
Game The Game lorem Ipsum
Definition: Game.h:36
void updateTime(int game_time)
Definition: Game.cpp:51