#ifndef EDITSCENE_ANIMATIONTREETEMPLATEEDITOR_HPP
#define EDITSCENE_ANIMATIONTREETEMPLATEEDITOR_HPP
#pragma once

#include "ComponentEditor.hpp"
#include "../components/AnimationTreeTemplate.hpp"

/**
 * Editor for AnimationTreeTemplate component.
 * The actual tree editing is done via the co-located AnimationTreeComponent.
 * This editor only exposes the template name and version.
 */
class AnimationTreeTemplateEditor
	: public ComponentEditor<AnimationTreeTemplate> {
public:
	bool renderComponent(flecs::entity entity,
			     AnimationTreeTemplate &templ) override;
	const char *getName() const override
	{
		return "Animation Tree Template";
	}
};

#endif // EDITSCENE_ANIMATIONTREETEMPLATEEDITOR_HPP
