MCPcopy Create free account
hub / github.com/SimHacker/micropolis / tick

Method tick

MicropolisCore/src/pyMicropolis/tileEngine/tiletool.py:495–507  ·  view source on GitHub ↗
(
        self, 
        view)

Source from the content-addressed store, hash-verified

493
494
495 def tick(
496 self,
497 view):
498
499 xDirection, yDirection = \
500 self.getAutoScrollDirections(
501 view)
502
503 if xDirection or yDirection:
504 self.doAutoScroll(
505 view,
506 xDirection,
507 yDirection)
508
509
510 def getAutoScrollDirections(

Callers 1

tickActiveToolMethod · 0.45

Calls 2

doAutoScrollMethod · 0.95

Tested by

no test coverage detected