Linting
This commit is contained in:
@ -60,13 +60,15 @@ class Monster(FightingEntity):
|
||||
for move in moves:
|
||||
if move():
|
||||
break
|
||||
def move(self, y: int, x:int) -> None:
|
||||
|
||||
def move(self, y: int, x: int) -> None:
|
||||
"""
|
||||
Overwrites the move function to recalculate paths.
|
||||
"""
|
||||
super().move(y, x)
|
||||
self.recalculate_paths()
|
||||
|
||||
|
||||
class Tiger(Monster):
|
||||
"""
|
||||
A tiger monster.
|
||||
|
Reference in New Issue
Block a user