+ # transfer an object from one container to another
+ # container must have an objects list
+ def transfer_object (self, source, obj, dest):
+ # remove object from source
+ source.objects.remove (obj)
+ # add object to destination
+ dest.objects.append (obj)
+