getFacingCoord screenRelative now defaults to false

This commit is contained in:
Marcin Kostrzewski 2020-05-14 16:30:10 +02:00
parent 3924023a92
commit fad3d68b55

View File

@ -120,11 +120,11 @@ class Entity(pygame.sprite.Sprite):
rect = image.get_rect()
return image, rect
def getFacingCoord(self, screenRelative=True):
def getFacingCoord(self, screenRelative=False):
"""
Gets coordinates forward to this entity.
:param screenRelative: If true, the method returns absolute coords
:param screenRelative: If true, the method returns absolute coords (default=False)
:return: Position tuple of (x,y) coords
"""
if screenRelative: