mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 21:44:05 +09:00
thread pooling actor update, updated kotlin lib
Former-commit-id: 17dc75ada5a6652fa555c3a34214704897ca9afe Former-commit-id: 75ddbe0187f978958cc5c1208a0cfb85bfdcdfaf
This commit is contained in:
@@ -111,6 +111,9 @@ constructor(gamename: String) : StateBasedGame(gamename) {
|
||||
var hasController = false
|
||||
val CONTROLLER_DEADZONE = 0.1f
|
||||
|
||||
/** Available CPU cores */
|
||||
val CORES = Runtime.getRuntime().availableProcessors();
|
||||
|
||||
private lateinit var configDir: String
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user