X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fgamestate.py;h=c3bc0ce96b75c27bd14bbe49b3daad3c20ee0ef9;hb=5dd0651aca74ffdac3c6c069fde62e43dc6960bd;hp=134fba3bad70649c1ed39b6bc08c1c2b535839d0;hpb=172e2665331fba1bcda0a5b07774db8523076e66;p=naja.git diff --git a/naja/gamestate.py b/naja/gamestate.py index 134fba3..c3bc0ce 100644 --- a/naja/gamestate.py +++ b/naja/gamestate.py @@ -22,8 +22,8 @@ class GameState(object): self.gameboard = gameboard @classmethod - def new(cls, **kw): - locations_deck = load_location_deck('standard') + def new(cls, deck='standard', **kw): + locations_deck = load_location_deck(deck) return cls(GameBoard.new_game(locations_deck['cards'], **kw)) @classmethod