projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factor out EIGHT_BIT_SCALE.
[naja.git]
/
naja
/
gamestate.py
diff --git
a/naja/gamestate.py
b/naja/gamestate.py
index bbe92d362fa47c9a316afd4d4d52b9fd0957c94a..8d00756f8c85c318f7d30a224683f75c6b274f76 100644
(file)
--- a/
naja/gamestate.py
+++ b/
naja/gamestate.py
@@
-17,11
+17,11
@@
class GameState(object):
self.gameboard = GameBoard.new_game(
locations_definition=[
{'actions': []},
self.gameboard = GameBoard.new_game(
locations_definition=[
{'actions': []},
- {'actions': [{'required_bits': [BITS
['CYAN']
],
+ {'actions': [{'required_bits': [BITS
.CYAN
],
'action_class': 'DoNothing'}]},
'action_class': 'DoNothing'}]},
- {'actions': [{'required_bits': [BITS
['YELLOW']
],
+ {'actions': [{'required_bits': [BITS
.YELLOW
],
'action_class': 'DoNothing'}]},
'action_class': 'DoNothing'}]},
- {'actions': [{'required_bits': [BITS
['YELLOW'], BITS['MAGENTA']
],
+ {'actions': [{'required_bits': [BITS
.YELLOW, BITS.MAGENTA
],
'action_class': 'DoNothing'}]},
])
'action_class': 'DoNothing'}]},
])