From fad3d68b55d24ff6c9bed992766b5535245ec6b5 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Thu, 14 May 2020 16:30:10 +0200 Subject: [PATCH] getFacingCoord screenRelative now defaults to false --- src/entities/Entity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entities/Entity.py b/src/entities/Entity.py index 926db45..b2b86be 100644 --- a/src/entities/Entity.py +++ b/src/entities/Entity.py @@ -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: