pull/2/head
jaysunxiao 2021-09-13 23:31:35 +08:00
parent 1a0aad0917
commit 4b7cc81892
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# extends Node2D
var StringUtils = load("res://util/StringUtils.gd")
const StringUtils = preload("res://util/StringUtils.gd")
# (optional) class definition with a custom icon
class_name MyClass, "res://icon.png"

8
util/RandomUtils.gd Normal file
View File

@ -0,0 +1,8 @@
extends Object
const random = [null, false]
static func init():
random[0] = RandomNumberGenerator.new()