Fix bug
This commit is contained in:
parent
4fef084602
commit
cb72fff93c
@ -8,8 +8,6 @@ class Waiter(pygame.sprite.Sprite):
|
||||
pygame.sprite.Sprite.__init__(self)
|
||||
self.moveX = 0
|
||||
self.moveY = 0
|
||||
self.clearX = 0
|
||||
self.clearY = 0
|
||||
self.frame = 0
|
||||
self.imageWaiter = waiter
|
||||
self.imageFloor = floor
|
||||
@ -33,7 +31,7 @@ screen = pygame.display.set_mode((700, 750))
|
||||
done = False
|
||||
block_size = 50
|
||||
clock = pygame.time.Clock()
|
||||
fps = 40
|
||||
fps = 30
|
||||
ani = 40
|
||||
rect = 1
|
||||
|
||||
@ -53,7 +51,6 @@ waiterPly = Waiter()
|
||||
|
||||
def main():
|
||||
drawBackground()
|
||||
|
||||
while not done:
|
||||
for event in pygame.event.get():
|
||||
if event.type == pygame.QUIT:
|
||||
|
Loading…
Reference in New Issue
Block a user