add tick function for mob movement

This commit is contained in:
Xevion
2020-04-21 18:18:25 -05:00
parent 02a650d72b
commit 9b133749af
3 changed files with 18 additions and 3 deletions

View File

@@ -126,6 +126,7 @@ class Game(arcade.Window):
t2 = time.time()
print(f'Path acquired in {round(t2 - t1, 4)}s')
self.draw_path(path)
mob.tick(path)
self.fps.tick()
except Exception: