/FileExtraction/Java_unseen/rekit-group_rekit-game/project/gui/src/main/java/rekit/gui/controller/Controller.java
package rekit.gui.controller;

import rekit.gui.View;
import rekit.logic.Model;

/**
 * This Interface defines the Controller for the MVC.
 *
 * @author Dominik Fuchss
 *
 */
public interface Controller {
	/**
	 * Get the controller.
	 *
	 * @param model
	 *            the model
	 * @param view
	 *            the view to attach all controls
	 * @return the controller
	 */
	static Controller getController(Model model, View view) {
		return new ControllerImpl(model, view);
	}

	/**
	 * Start the Controller.
	 */
	void start();

}
