Fixed filename
This commit is contained in:
parent
46e2b601f4
commit
7d5c07c598
@ -24,6 +24,11 @@ class Player(Entity):
|
|||||||
elif rotation.value == Rotations.WEST.value:
|
elif rotation.value == Rotations.WEST.value:
|
||||||
self.rect.x -= self.rect.w
|
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
|
# Returns given statistic
|
||||||
def getStatistic(self, stat):
|
def getStatistic(self, stat):
|
||||||
if stat.value == StatisticNames.HP:
|
if stat.value == StatisticNames.HP:
|
||||||
|
Loading…
Reference in New Issue
Block a user