def __init__(self, type, output, source, destination, item): self.destination = destination '''Where item is being moved to.''' self.source = source '''Where item is being moved from.''' self.item = item '''What item is being moved. Does NOT always equal event.target.''' HandlerEvent.__init__(self, type, output)
def __init__(self, type): HandlerEvent.__init__(self, type, None) self.type = type