Refactor _setup_world method to remove unnecessary self parameter
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 30s
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 30s
This commit is contained in:
parent
14dfc7bfb8
commit
eded181c62
@ -34,7 +34,7 @@ class SimulationEngine:
|
|||||||
self.running = True
|
self.running = True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _setup_world(self):
|
def _setup_world():
|
||||||
world = World(CELL_SIZE, (CELL_SIZE * GRID_WIDTH, CELL_SIZE * GRID_HEIGHT))
|
world = World(CELL_SIZE, (CELL_SIZE * GRID_WIDTH, CELL_SIZE * GRID_HEIGHT))
|
||||||
random.seed(RANDOM_SEED)
|
random.seed(RANDOM_SEED)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user