diff options
Diffstat (limited to 'include/core/Dictionary.hpp')
| -rw-r--r-- | include/core/Dictionary.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/Dictionary.hpp b/include/core/Dictionary.hpp index ec97602..7f40adc 100644 --- a/include/core/Dictionary.hpp +++ b/include/core/Dictionary.hpp @@ -12,6 +12,11 @@ namespace godot { class Dictionary { godot_dictionary _godot_dictionary; + friend Variant::operator Dictionary() const; + inline explicit Dictionary(const godot_dictionary &other) { + _godot_dictionary = other; + } + public: Dictionary(); Dictionary(const Dictionary &other); |
