Commit a2f3c17a authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

minor clean-up in CoreObject

parent 613ba8e0
...@@ -448,17 +448,6 @@ class CoreObject(ManPyObject): ...@@ -448,17 +448,6 @@ class CoreObject(ManPyObject):
for object in [x for x in activeObject.next if x.canAccept(activeObject) and not x.isRequested.triggered and x.expectedSignals['isRequested']]: for object in [x for x in activeObject.next if x.canAccept(activeObject) and not x.isRequested.triggered and x.expectedSignals['isRequested']]:
receivers.append(object) receivers.append(object)
return receivers return receivers
# #===========================================================================
# # find possible receivers
# #===========================================================================
# def findReceivers(self):
# activeObject=self.getActiveObject()
# receivers=[]
# for object in [x for x in self.next if x.canAccept(activeObject)]:
# receivers.append(object)
# return receivers
# ======================================================================= # =======================================================================
# signal the successor that the object can dispose an entity # signal the successor that the object can dispose an entity
...@@ -535,18 +524,6 @@ class CoreObject(ManPyObject): ...@@ -535,18 +524,6 @@ class CoreObject(ManPyObject):
givers.append(object) givers.append(object)
return givers return givers
# #===========================================================================
# # find possible givers
# #===========================================================================
# def findGivers(self):
# activeObject=self.getActiveObject()
# givers=[]
# for object in [x for x in activeObject.previous if(not x is activeObject)]:
# if object.haveToDispose(activeObject):
# givers.append(object)
# return givers
# ======================================================================= # =======================================================================
# signal the giver that the entity is removed from its internalQueue # signal the giver that the entity is removed from its internalQueue
# ======================================================================= # =======================================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment