package seng302.Controllers; import javafx.fxml.Initializable; import seng302.App; import java.net.URL; import java.util.ResourceBundle; /** * Controller parent for app controllers. * Created by fwy13 on 15/03/2017. */ public abstract class Controller implements Initializable { protected MainController parent; /** * Sets the parent of the application * * @param parent controller */ public void setParent(MainController parent) { this.parent = parent; } /** * Initialisation class that is run on start up. * * @param location resources location * @param resources resources bundle */ @Override public abstract void initialize(URL location, ResourceBundle resources); }