X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fgamestate.py;h=8d00756f8c85c318f7d30a224683f75c6b274f76;hb=67e79ba3fbe96590efa50a73fe983c2810efdd0f;hp=bbe92d362fa47c9a316afd4d4d52b9fd0957c94a;hpb=00d93ae60dcfb960870d29e8e64ad38d62de935d;p=naja.git diff --git a/naja/gamestate.py b/naja/gamestate.py index bbe92d3..8d00756 100644 --- a/naja/gamestate.py +++ b/naja/gamestate.py @@ -17,11 +17,11 @@ class GameState(object): self.gameboard = GameBoard.new_game( locations_definition=[ {'actions': []}, - {'actions': [{'required_bits': [BITS['CYAN']], + {'actions': [{'required_bits': [BITS.CYAN], 'action_class': 'DoNothing'}]}, - {'actions': [{'required_bits': [BITS['YELLOW']], + {'actions': [{'required_bits': [BITS.YELLOW], 'action_class': 'DoNothing'}]}, - {'actions': [{'required_bits': [BITS['YELLOW'], BITS['MAGENTA']], + {'actions': [{'required_bits': [BITS.YELLOW, BITS.MAGENTA], 'action_class': 'DoNothing'}]}, ])