#ifndef EDITSCENE_GOAP_BLACKBOARD_EDITOR_HPP
#define EDITSCENE_GOAP_BLACKBOARD_EDITOR_HPP
#pragma once

#include <imgui.h>
#include "../components/GoapBlackboard.hpp"

/**
 * Inline editor for GoapBlackboard.
 * Can be used inside other component editors.
 */
class GoapBlackboardEditor {
public:
	static bool render(GoapBlackboard &bb, const char *id);

private:
	static bool renderBits(GoapBlackboard &bb, const char *id);
	static bool renderIntValues(GoapBlackboard &bb, const char *id);
	static bool renderFloatValues(GoapBlackboard &bb, const char *id);
	static bool renderVec3Values(GoapBlackboard &bb, const char *id);
};

#endif // EDITSCENE_GOAP_BLACKBOARD_EDITOR_HPP
