import { createInterfaceCommandButton } from "./createInterfaceCommandButton.js";

/**
 *
 * @param {InterfaceCommand} prop
 * @param {GUIEngine} gui
 * @param {EntityComponentDataset} ecd
 * @extends {View}
 */
export function makeCommandButtonView(prop, gui, ecd) {


    const buttonView = createInterfaceCommandButton({
        command: prop,
        gui,
        ecd
    });

    buttonView.addClass('command-button-view');

    return buttonView;
}
