#ifndef FUEL_RULE_EXPLORER_HPP_
#define FUEL_RULE_EXPLORER_HPP_

#include <ItemStack/ItemStack.hpp>
#include <Widget/Layout/CompoundWidget/CompoundWidget.hpp>

/**
 * @brief A searchable list of fuels.
 */
class FuelRuleExplorer final : public CompoundWidget
{
private:
    struct Rule
    {
        ItemStack stack;
        uint32_t fuelAmount;
    };

    std::vector<Rule> rules;

    void buildRuleCache();

public:
    FuelRuleExplorer();
};

#endif