projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add property to get at board_locations
[naja.git]
/
naja
/
gamestate.py
diff --git
a/naja/gamestate.py
b/naja/gamestate.py
index 71abcc73a00eff7982eedadd5cb726120f4b3450..bbe92d362fa47c9a316afd4d4d52b9fd0957c94a 100644
(file)
--- a/
naja/gamestate.py
+++ b/
naja/gamestate.py
@@
-28,3
+28,7
@@
class GameState(object):
@property
def player(self):
return self.gameboard.player
+
+ @property
+ def board_locations(self):
+ return self.gameboard.board_locations