asynch update and render (aka frameskip)

This commit is contained in:
minjaesong
2017-07-08 20:38:05 +09:00
parent 235f774ff6
commit f71905b880
101 changed files with 575 additions and 597 deletions

View File

@@ -1,12 +1,12 @@
package net.torvald.terrarum.concurrent
import net.torvald.terrarum.TerrarumGDX
import net.torvald.terrarum.Terrarum
/**
* Created by minjaesong on 16-05-25.
*/
object ThreadParallel {
private val pool: Array<Thread?> = Array(TerrarumGDX.THREADS, { null })
private val pool: Array<Thread?> = Array(Terrarum.THREADS, { null })
/**
* Map Runnable object to certain index of the thread pool.