#ifndef LIGHTKEEPER_INTERACTABLE_H #define LIGHTKEEPER_INTERACTABLE_H #include class Interactable : public Component { public: virtual void Interact(GameObject& interactor) = 0; [[nodiscard]] static Interactable* FindOnObjectOrParents(GameObject* object); protected: Interactable(GameObject& parent, const std::string& name) : Component(parent, name) {} }; #endif // LIGHTKEEPER_INTERACTABLE_H