diff options
| author | troido <troido@protonmail.com> | 2019-09-18 12:15:58 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-09-18 12:15:58 +0200 |
| commit | 8260094e4000a17505358e1d0a8ff2e163eb3c6f (patch) | |
| tree | 0464b49d8afc288fe14fd245001890733702f020 /asciifarm/client/gameclient.py | |
| parent | b95a08c303c08d955142312a72f0e51a5edcffdf (diff) | |
all communication with ratuil layout goes through display
Diffstat (limited to 'asciifarm/client/gameclient.py')
| -rw-r--r-- | asciifarm/client/gameclient.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/asciifarm/client/gameclient.py b/asciifarm/client/gameclient.py index 37335f5..d9d0c89 100644 --- a/asciifarm/client/gameclient.py +++ b/asciifarm/client/gameclient.py @@ -108,14 +108,11 @@ class Client: if maxHealth is None: self.log("You have died. Restart the client to respawn") if msgType == "inventory": - #self.display.setInventory(msg[1]) - self.display.inventory.setItems(msg[1]) + self.display.setInventory(msg[1]) if msgType == "equipment": - #self.display.setEquipment(msg[1]) - self.display.equipment.setItems(msg[1]) + self.display.setEquipment(msg[1]) if msgType == "ground": - #self.display.setGround(msg[1]) - self.display.ground.setItems(msg[1]) + self.display.setGround(msg[1]) if msgType == "message": self.log(*msg[1:]) if msgType == "options": |
