Timer overhaul: update tests
This commit is contained in:
parent
5d41292bf6
commit
cec76b63dc
78 changed files with 521 additions and 495 deletions
|
|
@ -269,7 +269,7 @@ class PathfindingAnimatedDemo(GeometryDemoScreen):
|
|||
self.dist_label.fill_color = mcrfpy.Color(150, 150, 150)
|
||||
self.ui.append(self.dist_label)
|
||||
|
||||
def _tick(self, runtime):
|
||||
def _tick(self, timer, runtime):
|
||||
"""Advance one turn."""
|
||||
self.current_time += 1
|
||||
self.time_label.text = f"Turn: {self.current_time}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue