From: Christian Heller Date: Mon, 18 Feb 2019 00:49:01 +0000 (+0100) Subject: Export all names in module needed for demo client. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/do_tasks?a=commitdiff_plain;h=7c5a1f186ead9a361982a245203563ca392be310;p=plomrogue2-experiments Export all names in module needed for demo client. --- diff --git a/new/client.py b/new/client.py index ef0c8dc..45c16db 100755 --- a/new/client.py +++ b/new/client.py @@ -4,7 +4,7 @@ import plom_socket import socket import threading from parser import ArgError, Parser -from plomrogue2 import (MapBase, WorldBase, ThingBase, cmd_MAP, cmd_THING_TYPE, +from plomrogue import (MapBase, WorldBase, ThingBase, cmd_MAP, cmd_THING_TYPE, cmd_THING_POS) import types diff --git a/new/plomrogue/__init__.py b/new/plomrogue/__init__.py index 110ced7..c245a26 100644 --- a/new/plomrogue/__init__.py +++ b/new/plomrogue/__init__.py @@ -1,2 +1,3 @@ #!/usr/bin/env python3 -from plomrogue.misc import Game +from plomrogue.misc import (Game, MapBase, WorldBase, ThingBase, cmd_MAP, + cmd_THING_TYPE, cmd_THING_POS)