|
|
|
|
32
|
def __init__(self, context, host):
|
32
|
def __init__(self, context, host):
|
33
|
super().__init__(context, host)
|
33
|
super().__init__(context, host)
|
34
|
self._movement_mode = MODE_HOME
|
34
|
self._movement_mode = MODE_HOME
|
35
|
- self._distance_from_objective = 0 # TODO rename: distance_since_objective
|
|
|
|
|
35
|
+ self._distance_from_objective = 0
|
36
|
self._molecule_searching = PHEROMON_DIR_EXPLO
|
36
|
self._molecule_searching = PHEROMON_DIR_EXPLO
|
37
|
|
37
|
|
38
|
def switch_to_mode(self, mode):
|
38
|
def switch_to_mode(self, mode):
|