- offset_pos = (thing.position[1][0] - offset[0],
- thing.position[1][1] - offset[1])
- self.io.send('THING_TYPE %s %s' % (thing.id_, thing.type_))
- self.io.send('THING_POS %s %s %s' % (thing.id_,
- stringify_yx(thing.position[0]),
- stringify_yx(offset_pos)))