From 26a2c19eb7a4a5c1410ef6d9c0a4ecfdc2eaf73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Thu, 28 Jan 2021 19:43:26 +0800 Subject: [PATCH] rua! --- bin/client.py | 4 +++- docs/configes sample/in_file_config.json5 | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bin/client.py b/bin/client.py index 4eb9bc0..9857c3c 100644 --- a/bin/client.py +++ b/bin/client.py @@ -53,7 +53,9 @@ class RenderThread(mp.Process, pyglet.window.Window): """ def on_draw(self): - pass + # render parts + for part in self.parts: + pass def on_mouse_motion(self, x, y, dx, dy): pass diff --git a/docs/configes sample/in_file_config.json5 b/docs/configes sample/in_file_config.json5 index babfff0..278b218 100644 --- a/docs/configes sample/in_file_config.json5 +++ b/docs/configes sample/in_file_config.json5 @@ -8,5 +8,20 @@ } }, 'client': { + 'self.parts': { + 'part ID': [ + // shipId.partId + 'part Type', + // just id + [ + 'x', + 'y' + ], + //poi + { + 'special value': 'xxx' + } + ] + } } } \ No newline at end of file