Revision a5c338e8
Added by Vincent Le Goff over 4 years ago
src/cocomud.py | ||
---|---|---|
48 | 48 |
|
49 | 49 |
# Create the client and ClientWindow |
50 | 50 |
window = ClientWindow(engine) |
51 |
world = window.world |
|
51 | 52 |
hostname = window.panel.world.hostname |
52 | 53 |
port = window.panel.world.port |
53 |
client = engine.open(hostname, port) |
|
54 |
client = engine.open(hostname, port, world)
|
|
54 | 55 |
client.link_window(window) |
56 |
world.load() |
|
55 | 57 |
client.start() |
56 | 58 |
app.MainLoop() |
Also available in: Unified diff
Put the macros and triggers in the world itself