# Path: intelligine/simulation/object/brain/part/transport/TakeBrainPart.py
# class TakeBrainPart(TransportBrainPart):
# 
#     @classmethod
#     def can_take(cls, context, object_to_take_id):
#         raise NotImplementedError()
# 
# Path: intelligine/synergy/object/ressource/Ressource.py
# class Resource(Transportable):
#     pass
# 
# Path: intelligine/cst.py
# MODE_EXPLO = IncrementedNamedInt.get('intelligine.basebug.move.explo')
# 
# TYPE_RESOURCE_EXPLOITABLE = IncrementedNamedInt.get('intelligine.object.type.resource.transformable')
# 
# MODE_GOHOME = IncrementedNamedInt.get('intelligine.basebug.move.gohome')
# 
# MODE_NURSE = IncrementedNamedInt.get('intelligine.basebug.move.nurse')
# 
# TYPE_NURSERY = IncrementedNamedInt.get('intelligine.object.type.nursery')
# 
# MODE_HOME = IncrementedNamedInt.get('intelligine.basebug.move.home')
# 
# MODE_SEARCH_AROUND = IncrementedNamedInt.get('intelligine.basebug.move.search_around')


from intelligine.simulation.object.brain.part.transport.TakeBrainPart import TakeBrainPart
from intelligine.synergy.object.ressource.Ressource import Resource
from intelligine.cst import MODE_EXPLO, TYPE_RESOURCE_EXPLOITABLE, \
    MODE_GOHOME, MODE_NURSE, TYPE_NURSERY, MODE_HOME, MODE_SEARCH_AROUND


class AntTakeBrainPart(TakeBrainPart):

    # TODO: methode __init_ pour la classe ? Pour surcharger ici.
    _mode_matches = {
        MODE_EXPLO: [TYPE_RESOURCE_EXPLOITABLE],
        MODE_NURSE: [TYPE_NURSERY],

# Path: intelligine/simulation/object/brain/part/transport/TakeBrainPart.py
# class TakeBrainPart(TransportBrainPart):
# 
#     @classmethod
#     def can_take(cls, context, object_to_take_id):
#         raise NotImplementedError()
# 
# Path: intelligine/synergy/object/ressource/Ressource.py
# class Resource(Transportable):
#     pass
# 
# Path: intelligine/cst.py
# MODE_EXPLO = IncrementedNamedInt.get('intelligine.basebug.move.explo')
# 
# TYPE_RESOURCE_EXPLOITABLE = IncrementedNamedInt.get('intelligine.object.type.resource.transformable')
# 
# MODE_GOHOME = IncrementedNamedInt.get('intelligine.basebug.move.gohome')
# 
# MODE_NURSE = IncrementedNamedInt.get('intelligine.basebug.move.nurse')
# 
# TYPE_NURSERY = IncrementedNamedInt.get('intelligine.object.type.nursery')
# 
# MODE_HOME = IncrementedNamedInt.get('intelligine.basebug.move.home')
# 
# MODE_SEARCH_AROUND = IncrementedNamedInt.get('intelligine.basebug.move.search_around')


# Path: intelligine/simulation/object/brain/part/transport/AntTakeBrainPart.py
from intelligine.simulation.object.brain.part.transport.TakeBrainPart import TakeBrainPart
from intelligine.synergy.object.ressource.Ressource import Resource
from intelligine.cst import MODE_EXPLO, TYPE_RESOURCE_EXPLOITABLE, \
    MODE_GOHOME, MODE_NURSE, TYPE_NURSERY, MODE_HOME, MODE_SEARCH_AROUND



class AntTakeBrainPart(TakeBrainPart):

    # TODO: methode __init_ pour la classe ? Pour surcharger ici.
    _mode_matches = {
        MODE_EXPLO: [TYPE_RESOURCE_EXPLOITABLE],
        MODE_NURSE: [TYPE_NURSERY],

        MODE_GOHOME: [],