#pragma once #include "core/io/resource.h" #include "scene/resources/texture.h" #include "you_done_it/ydi_networking.h" class ClueData : public Resource { GDCLASS(ClueData, Resource); static void _bind_methods(); protected: void set_revealed(bool value); public: void set_id(NetworkData::ClueID id); NetworkData::ClueID get_id() const; void reveal(); bool get_revealed() const; void set_image(Ref image); Ref get_image() const; void set_popup_text(String value); String get_popup_text() const; private: NetworkData::ClueID id{ NetworkData::CLUE_MAX }; bool revealed{ false }; Ref image{}; String popup_text{}; };