Files
settled-reach/client/addons/gdUnit4/test/resources/issues/gd-166/issue.gd
T
jpmschweitzerandClaude Opus 4.6 61e0762a84 chore(client): add gdUnit4 test framework addon
Vendor gdUnit4 for Godot 4 client testing (D-030).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 16:52:00 +01:00

22 lines
321 B
GDScript

extends Object
const Type = preload("types.gd")
var type := -1 :
get:
return type
set(value):
type = value
_set_type_name(value)
var type_name :String
func _set_type(t:int) -> void:
type = t
func _set_type_name(type_ :int) -> void:
type_name = Type.to_str(type_)
print("type was set to %s" % type_name)