Added missing affinity to the player's init
This commit is contained in:
parent
5e1e089015
commit
7877cbb239
@ -126,7 +126,7 @@ class Game:
|
|||||||
self.initializeMap(filesPath)
|
self.initializeMap(filesPath)
|
||||||
|
|
||||||
# Initialize the player
|
# Initialize the player
|
||||||
self.player = Player((6, 2), self.map.tileSize, Affinities(0.3, 0.6, 0.1))
|
self.player = Player((6, 2), self.map.tileSize, Affinities(0.3, 0.6, 0.1, 0.5))
|
||||||
self.map.addEntity(self.player, DONTADD=True)
|
self.map.addEntity(self.player, DONTADD=True)
|
||||||
self.eventManager = EventManager(self, self.player)
|
self.eventManager = EventManager(self, self.player)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user