public void doAction(GameController controller, IMainWindow mainWindow) { mainWindow.SwitchToGameAreaVisual(); mainWindow.ClearButtomsArea(); mainWindow.AddUseToroidToggle(); mainWindow.AddAutoGenerateAliveCellsButton(); mainWindow.AddStartButton(); mainWindow.AddDrawAliveCellsButton(); mainWindow.Update(); }