mirror of
https://github.com/csd4ni3l/game-of-life.git
synced 2026-01-01 04:23:42 +01:00
Fix default generation fps
This commit is contained in:
@@ -6,7 +6,7 @@ from game.game_of_life import create_numpy_grid, update_generation
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
class Game(arcade.gui.UIView):
|
class Game(arcade.gui.UIView):
|
||||||
def __init__(self, pypresence_client=None, generation=None, running=False, cell_grid=None, generation_fps=0, load_from=None):
|
def __init__(self, pypresence_client=None, generation=None, running=False, cell_grid=None, generation_fps=10, load_from=None):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self.generation = generation or 0
|
self.generation = generation or 0
|
||||||
|
|||||||
Reference in New Issue
Block a user