from pygame.event import Event class ClickEvent: def __init__(self, world_position: tuple[float, float], screen_position: tuple[float, float], event: Event): self.world_position = world_position self.screen_position = screen_position self.event = event def __str__(self): return f"ClickEvent(world_position={self.world_position}, screen_position={self.screen_position})"