package termux.Components.Menu;

/*

    Project     Programming21
    Package     Application.Services.Components.Menu
    
    Version     1.0      
    Author      <NAME>
    Date        2021-03-18

    DESCRIPTION
    
*/

import termux.Components.Menu.DefaultMenu;

import java.util.ArrayList;

/**
 * @author <NAME>
 */

public abstract class OptionsMenu extends DefaultMenu {

    protected String[] options;

    public OptionsMenu(String[] o, String e) {
        super(e);
        this.options = o;
    }

    public OptionsMenu(ArrayList<String> o, String e) {
        super(e);
        this.options = o.toArray(new String[0]);
    }

}
