X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Fplomrogue%2Fcommands.py;h=2ca62304e38160c5d466ba8ff76b05da7ba097af;hb=fee7032748faad3feab219c88c75ec79725ed62c;hp=8175b2ecdb997f5db4c62eb585f26ec90626567a;hpb=e6e708c2398e9d5130fcc54e36e81c9dc68707ff;p=plomrogue2-experiments diff --git a/new2/plomrogue/commands.py b/new2/plomrogue/commands.py index 8175b2e..2ca6230 100644 --- a/new2/plomrogue/commands.py +++ b/new2/plomrogue/commands.py @@ -52,3 +52,7 @@ cmd_TURN.argtypes = 'int:nonneg' def cmd_MAP_LINE(game, y, line): game.map.set_line(y, line) cmd_MAP_LINE.argtypes = 'int:nonneg string' + +def cmd_MAP(game, size): + game.new_map(size) +cmd_MAP.argtypes = 'yx_tuple:pos'