diff --git a/arcade/hitbox.py b/arcade/hitbox.py index 37a6233be..503c9854e 100644 --- a/arcade/hitbox.py +++ b/arcade/hitbox.py @@ -4,7 +4,6 @@ import pymunk from PIL import Image -from arcade import NamedPoint from arcade import Point from typing import List, Union, Tuple from pymunk import autogeometry diff --git a/arcade/paths.py b/arcade/paths.py index e748a38e4..ca5521a80 100644 --- a/arcade/paths.py +++ b/arcade/paths.py @@ -95,7 +95,12 @@ def __init__(self, barriers: Union[List, Tuple, Set], self.bottom = bottom if diagonal_movement: - self.movement_directions = (1, 0), (-1, 0), (0, 1), (0, -1), (1, 1), (-1, 1), (1, -1), (-1, -1) # type: ignore + self.movement_directions = ( # type: ignore + (1, 0), (-1, 0), + (0, 1), (0, -1), + (1, 1), (-1, 1), + (1, -1), (-1, -1) + ) else: self.movement_directions = (1, 0), (-1, 0), (0, 1), (0, -1) # type: ignore