This commit is contained in:
沈瑗杰 2021-01-28 19:43:26 +08:00
parent 5ec7dfe470
commit 26a2c19eb7
2 changed files with 18 additions and 1 deletions

View File

@ -53,7 +53,9 @@ class RenderThread(mp.Process, pyglet.window.Window):
""" """
def on_draw(self): def on_draw(self):
pass # render parts
for part in self.parts:
pass
def on_mouse_motion(self, x, y, dx, dy): def on_mouse_motion(self, x, y, dx, dy):
pass pass

View File

@ -8,5 +8,20 @@
} }
}, },
'client': { 'client': {
'self.parts': {
'part ID': [
// shipId.partId
'part Type',
// just id
[
'x',
'y'
],
//poi
{
'special value': 'xxx'
}
]
}
} }
} }