forked from zhiyuan/Project1
添加雨滴特效,已有基本效果,待完善
This commit is contained in:
1 parent
5ca95505f2
commit
0148138147
3 files changed
+80
-5
No files matched your search
@@ -1,8 +1,9 @@
|
||||
import pygame
|
||||
|
||||
class BaseScene:
|
||||
def __init__(self, screen: pygame.Surface):
|
||||
def __init__(self, screen: pygame.Surface, clock: pygame.time.Clock):
|
||||
self.screen = screen
|
||||
self.clock = clock
|
||||
self.next_scene = None
|
||||
|
||||
def update(self):
|
||||
|
||||
Reference in new issue
Block a user