pocket-friends/pocket_friends/game_files/surfaces/title.py

13 lines
253 B
Python
Raw Normal View History

2023-05-11 09:58:44 -04:00
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))