package com.bsc36.project11cs.controllers;

import com.bsc36.project11cs.MainApplication;
import com.bsc36.project11cs.models.CargoSpace;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.stage.Stage;

public class BaseController {
    public Stage stage;

    public static String type;
    static String algorithm;
    public static String value1;
    public static String value2;
    public static String value3;
    public static String quantity1;
    public static String quantity2;
    public static String quantity3;
    static int[] values = new int[3];
    public static int[] quantities = new int[3];
    TextField[] textFields;
    public static boolean unlimited;
    static boolean stop;
    Thread thread;


    public MainApplication main;

    /**
     * Set Stage
     *
     * @param stage Stage Object
     */
    public void setStage(Stage stage) {
        this.stage = stage;
    }

    /**
     * Set Main Application
     *
     * @param mainApp MainApplication Object
     */
    public void setMain(MainApplication mainApp) {
        this.main = mainApp;
    }
}
