Updated cheat system. Code rework

This commit is contained in:
2021-04-06 10:15:10 +03:00
parent bf9208577b
commit 29d5676947
9 changed files with 265 additions and 103 deletions
+6 -2
View File
@@ -14,8 +14,12 @@ class BackgroundLayer():
self.frames = pygame.sprite.Group()
self.frames.add(BackgroundLayerFrame(image, mainGameClass, (0, 0), speedMultiplier))
self.frames.add(BackgroundLayerFrame(image, mainGameClass, (offset, 0), speedMultiplier))
self.frames.add(BackgroundLayerFrame(
image, mainGameClass, (0, 0), speedMultiplier)
)
self.frames.add(BackgroundLayerFrame(
image, mainGameClass, (offset, 0), speedMultiplier)
)
def update(self):