13 lines
253 B
Python
13 lines
253 B
Python
import pygame
|
|
|
|
|
|
class Surface(pygame.Surface):
|
|
def __init__(self, window_size):
|
|
super().__init__(window_size, pygame.SRCALPHA)
|
|
self.running = True
|
|
self.next_surface = None
|
|
|
|
def update(self):
|
|
self.fill((0, 0, 0))
|
|
|