diff --git a/classes/types/deck_type.gd b/classes/types/deck_type.gd index a26523e..adb91a7 100644 --- a/classes/types/deck_type.gd +++ b/classes/types/deck_type.gd @@ -29,6 +29,14 @@ const GODOT_TYPES_MAP := { Types.DICTIONARY: TYPE_DICTIONARY, } +const INVERSE_GODOT_TYPES_MAP := { + TYPE_BOOL: Types.BOOL, + TYPE_FLOAT: Types.NUMERIC, + TYPE_STRING: Types.STRING, + TYPE_ARRAY: Types.ARRAY, + TYPE_DICTIONARY: Types.DICTIONARY, +} + static func can_convert(from: Types, to: Types) -> bool: if from == to: