Use a larger example map
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
from enum import Enum, auto
|
||||
from math import sqrt
|
||||
from random import randint
|
||||
from typing import List, Tuple
|
||||
from typing import List
|
||||
|
||||
from dungeonbattle.display.texturepack import TexturePack
|
||||
|
||||
@ -186,9 +186,6 @@ class Entity:
|
||||
"""
|
||||
return sqrt(self.distance_squared(other))
|
||||
|
||||
def vector(self, other: "Entity") -> Tuple[int, int]:
|
||||
return other.y - self.y, other.x - self.x
|
||||
|
||||
|
||||
class FightingEntity(Entity):
|
||||
maxhealth: int
|
||||
|
Reference in New Issue
Block a user