diff --git a/__main__.py b/__main__.py index dd88df8..ed990cd 100644 --- a/__main__.py +++ b/__main__.py @@ -87,7 +87,7 @@ class Launcher: def update(self): for event in pygame.event.get(): if self.gameRunning: - self.currentGame.onEvent(event) + self.currentGame._onEvent(event) # CTRL+ESC if event.type == pygame.QUIT or (event.type == pygame.KEYDOWN and event.key == pygame.K_ESCAPE and event.mod == 64): @@ -110,7 +110,7 @@ class Launcher: self.loadGame(games['russianRoulette']) if self.gameRunning: - self.currentGame.update() + self.currentGame._update() self.screen.blit(self.currentGame.surf, (0, 0)) else: self.screen.fill((0, 0, 0))