import core.event class MarbleMoveRequest(core.event.Event): def __init__(self, marble, goal): self.marble = marble self.goal = goal class MarbleSpawnRequest(core.event.Event): def __init__(self, count): self.count = count