MCPcopy
hub / github.com/CHNZYX/Auto_Simulated_Universe / keep_move

Method keep_move

utils/simul/utils.py:1026–1034  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1024 pass
1025
1026 def keep_move(self):
1027 op = 'ws'
1028 i = 0
1029 while self.move and not self._stop:
1030 self.press(op[i], 0.05)
1031 time.sleep(0.08)
1032 i ^= 1
1033 if not self._stop:
1034 keyops.keyDown("w")
1035
1036 # 视角转动x度
1037 def mouse_move(self, x, fine=1):

Callers

nothing calls this directly

Calls 2

pressMethod · 0.95
sleepMethod · 0.80

Tested by

no test coverage detected