doc
parent
371b509691
commit
fff704b57d
|
@ -4,4 +4,5 @@ const TimeUtils = preload("res://zfoo/scheduler/TimeUtils.gd")
|
||||||
|
|
||||||
|
|
||||||
static func test():
|
static func test():
|
||||||
|
print("-----------------------SchedulerBus-----------------------")
|
||||||
SchedulerBus.schedule(MySchedulerRunnable.new(), 5000)
|
SchedulerBus.schedule(MySchedulerRunnable.new(), 5000)
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
extends Object
|
||||||
|
|
||||||
|
|
||||||
|
const IdUtils = preload("res://zfoo/util/IdUtils.gd")
|
||||||
|
|
||||||
|
static func test():
|
||||||
|
print("-----------------------IdUtils-----------------------")
|
||||||
|
print(IdUtils.getLocalIntId())
|
||||||
|
print(IdUtils.getLocalIntId())
|
||||||
|
print(IdUtils.getLocalIntId())
|
|
@ -1,9 +1,10 @@
|
||||||
extends Node2D
|
extends Node2D
|
||||||
|
|
||||||
const SchedulerTest = preload("res://zfoo/test/scheduler/SchedulerTest.gd")
|
const SchedulerTest = preload("res://zfoo/test/scheduler/SchedulerTest.gd")
|
||||||
|
const IdUtilsTest = preload("res://zfoo/test/util/IdUtilsTest.gd")
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
SchedulerTest.test()
|
SchedulerTest.test()
|
||||||
|
IdUtilsTest.test()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue