Fixed wrong spawnpoint coords

This commit is contained in:
Marcin Kostrzewski 2020-04-05 21:48:55 +02:00
parent a264ac7cb1
commit 46d018dbfd

View File

@ -7,7 +7,7 @@ import pygame
class Player(Entity): class Player(Entity):
def __init__(self, spawnpoint, size): def __init__(self, spawnpoint, size):
super().__init__("player.jpg", size, spawnpoint) super().__init__("player.jpg", size, (spawnpoint[0] * size, spawnpoint[1] * size))
# Where the player is facing, 0 - north, 1 # Where the player is facing, 0 - north, 1
self.rotation = Rotations.NORTH self.rotation = Rotations.NORTH