def createDrop(self, x, y): self.dropCounter = self.dropCounter + 1 id = self.dropCounter drop = CogdoMazeDrop(self, id, x, y) self.drops[id] = drop return drop.getDropIval()