update

fun update(time: Long)

更新地图中的信息。

该函数会调用所有存活实体的 GEntity.update 函数,并移除所有非存活实体。

Parameters

time

距离上一次执行的时间间隔(ms)