class Screen1:
    
    def __init__(self):
        self.screen_width = 800
        self.screen_height = 600
        self.screen = pygame.display.set_mode((screen_width, screen_height))
        
    @staticmethod
    def main(self):
        running = True
        clock = pygame.time.Clock()
        while running:
            for event in pygame.event.get():
                if event.type == pygame.QUIT:
                    running = False
    
            # when keyy pressed quit the loop with break
            screen.fill((0,0,0)
            clock.tick(1)