Added title.py surface
This commit is contained in:
parent
44986e62c0
commit
2987bfa7ed
12
pocket_friends/game_files/surfaces/title.py
Normal file
12
pocket_friends/game_files/surfaces/title.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user