added more monsters to test lag.

This commit is contained in:
Cameron Smart
2020-04-22 11:16:27 -07:00
parent 3d5b0f636c
commit 7e213e7c59
3 changed files with 33 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ class Mob(arcade.Sprite):
A on_update function, the Mob should decide it's next actions here.
"""
curpos, nextpos = self.nearestPosition(), path[1]
print(curpos, nextpos)
# print(curpos, nextpos)
if nextpos[0] > curpos[0]:
self.change_x = Config.PLAYER_MOVEMENT_SPEED - 3
@@ -61,7 +61,7 @@ class Mob(arcade.Sprite):
else:
self.change_y = 0
print(self.change_x, self.change_y)
# print(self.change_x, self.change_y)
def get_path(self, end: Tuple[int, int] = None) -> List[Tuple[int, int]]:
"""