コード例 #1
0
ファイル: GlueWallAntBrain.py プロジェクト: buxx/AntStar
    def _trig_blocked(self):
        """

        Update attributes to start a by pass

        :return:
        """
        home_direction = self._get_direction_of_home()
        current_position = self._host.get_position()
        wall_position = decal(home_direction, current_position)
        self._set_current_wall_square(wall_position)
コード例 #2
0
ファイル: StickWallAntBrain.py プロジェクト: buxx/AntStar
 def _trig_blocked(self):
     home_direction = self._get_direction_of_home()
     current_position = self._host.get_position()
     wall_position = decal(home_direction, current_position)
     self._set_current_wall_position(wall_position)