package yotris.logic;
import yotris.logic.GameState;
import yotris.ui.UserInterface;
import yotris.util.Settings;

public class GameLogic {
	private UserInterface ui;
	private Grid grid;
	private Settings settings;

	public GameLogic(UserInterface ui, Settings settings)	 {
		this.ui = ui;
		this.reset();
	}

	private void reset() {
		this.grid = new Grid(settings.getGridWidth(), settings.getGridHeight());	
	}

	public GameState update() {
		GameState state = new GameState(true);	
		state.running = false;

		return state;
	}
}

@@ -290,22 +290,58 @@
 %0A%09%09this.
-reset(
+settings = settings;%0A%09%09this.reset(settings
 );%0A%09%7D%0A%0A%09
@@ -359,16 +359,33 @@
 d reset(
+Settings settings
 ) %7B%0A%09%09th

fix logic reset