Commit 525edcba authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

minor clean-up in CoreObject

parent 81b991cd
...@@ -449,17 +449,6 @@ class CoreObject(ManPyObject): ...@@ -449,17 +449,6 @@ class CoreObject(ManPyObject):
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