diff --git a/src/entities/Player.py b/src/entities/Player.py index a7aba49..b84262e 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -24,6 +24,11 @@ class Player(Entity): elif rotation.value == Rotations.WEST.value: self.rect.x -= self.rect.w + def getFacingCoord(self): + if self.rotation == Rotations.NORTH: + return (0, -1) + elif self.rotation == Rotations.SOUTH: + # Returns given statistic def getStatistic(self, stat): if stat.value == StatisticNames.HP: