Adding log.gd

This commit is contained in:
Dan Baker 2024-05-02 09:36:31 +01:00
parent eb32d6614e
commit 4522259397
547 changed files with 46844 additions and 0 deletions

View file

@ -0,0 +1,30 @@
class_name CustomNodeTestClass
extends Node
const STATIC_FUNC_RETURN_VALUE = "i'm a static function"
enum {
ENUM_A,
ENUM_B
}
#func get_path() -> NodePath:
# return NodePath()
#func duplicate(flags_=15) -> Node:
# return self
# added a custom static func for mock testing
static func static_test() -> String:
return STATIC_FUNC_RETURN_VALUE
static func static_test_void() -> void:
pass
func get_value( type := ENUM_A) -> int:
match type:
ENUM_A:
return 0
ENUM_B:
return 1
return -1