diff --git a/src/entities/Player.py b/src/entities/Player.py index 43b1703..1143b55 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -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.