#pragma once #include "scene/2d/physics/area_2d.h" #include "you_done_it/ydi_networking.h" class PinnedPhoto; class ConclusionField : public Area2D { GDCLASS(ConclusionField, Area2D); static void _bind_methods(); void enter_tree(); void on_body_entered(Node2D *body); void on_body_exited(Node2D *body); protected: void _notification(int what); public: void notify_photo_dropped(PinnedPhoto *photo); void notify_photo_picked(PinnedPhoto *photo); bool is_filled() const; NetworkData::ClueID get_current_clue() const; private: PinnedPhoto *photo{ nullptr }; static String const sig_selection_changed; };