def __init__(self): print("Pygame Version: {ver}".format(ver=pygame.ver)) pygame.init() pygame.display.set_caption("Circles") self.WindowSize = (1920, 1080) self.BGroundColor = (255, 128, 45) self.screen = pygame.display.set_mode(self.WindowSize, pygame.FULLSCREEN) self.bGameShouldLoop = True self.EL = EventListener(self.screen) self.screen.fill((255, 128, 45))
def __init__(self): # The Abi File parser self.__abiParser = AbiParser() # The Event Listener class instance self.__eventListener = EventListener() # The Event Report class instance self.__eventReport = EventReport() # Variable to store the action chosen self.__action = None