a82cec8e6f5de9f9229f63a950b4c12d5d9acb65
[naja.git] / naja / gamestate.py
1 """
2 The current game state.
3 """
4
5 from naja.gameboard import GameBoard
6
7
8 class GameState(object):
9     """
10     Naja game state.
11     """
12
13     def __init__(self):
14         self.gameboard = GameBoard.new_game(
15             locations_definition=[{'actions': []}])  # TODO: we will need some of these :)
16
17     @property
18     def player(self):
19         return self.gameboard.player