#ifndef EDITSCENE_EVENT_HANDLER_HPP
#define EDITSCENE_EVENT_HANDLER_HPP
#pragma once

#include <Ogre.h>

/**
 * Event-driven behavior tree handler component.
 *
 * When the specified event is received, the referenced GoapAction's
 * behavior tree is executed for this entity. Event parameters
 * (EventParams) are injected into the entity's GoapBlackboard before
 * the tree runs and cleaned up when the tree completes.
 */
struct EventHandlerComponent {
	Ogre::String eventName;
	Ogre::String actionName;
	bool enabled = true;
};

#endif // EDITSCENE_EVENT_HANDLER_HPP
