/* RJPointer.h */ #ifndef ROKOJORI__POINTER_H #define ROKOJORI__POINTER_H #include "./RJGodotHeaders.h" #include "./RJCaster.h" #include "./RJPointable.h" #include "scene/3d/node_3d.h" template class Ref; class RJPointable; class RJPointer : public Node3D { GDCLASS( RJPointer, Node3D ); protected: static void _bind_methods(); // caster : RJCaster* RJCaster* caster = nullptr; public: // caster : RJCaster* RJCaster* get_caster() const; void set_caster( RJCaster* p_caster ); // getPointable( int index ) : Ref GDVIRTUAL1R( Ref, getPointable, int ); // Constructor RJPointer(); // Destructor ~RJPointer(); }; #endif // ROKOJORI__POINTER_H