Added disableMovementTime method

This commit is contained in:
Marcin Kostrzewski 2020-05-16 12:36:37 +02:00
parent 7877cbb239
commit a45be130e6

View File

@ -40,6 +40,13 @@ class Player(Entity):
# For GA to determine priorities of random movements
self.affinities = affinities
def disableMovementTime(self):
"""
Disables waiting time between each move.
"""
self.moveTimeout = 0
def applyWalkingFatigue(self):
"""
Lowers player's statistics. Applied every few steps.