mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
game item to load its own image if needed; common resource pool to assist that
This commit is contained in:
@@ -2,7 +2,6 @@ package net.torvald.terrarum
|
||||
|
||||
import com.badlogic.gdx.Gdx
|
||||
import com.badlogic.gdx.Screen
|
||||
import com.badlogic.gdx.assets.AssetManager
|
||||
import com.badlogic.gdx.graphics.Color
|
||||
import com.badlogic.gdx.graphics.GL20
|
||||
import com.badlogic.gdx.graphics.OrthographicCamera
|
||||
@@ -195,9 +194,6 @@ object Terrarum : Screen {
|
||||
|
||||
|
||||
|
||||
lateinit var assetManager: AssetManager // TODO
|
||||
|
||||
|
||||
init {
|
||||
println("$NAME version ${AppLoader.getVERSION_STRING()}")
|
||||
println("Java Runtime version ${System.getProperty("java.version")}")
|
||||
@@ -302,8 +298,6 @@ object Terrarum : Screen {
|
||||
val MINIMAL_GL_MAX_TEXTURE_SIZE = 4096
|
||||
|
||||
override fun show() {
|
||||
assetManager = AssetManager()
|
||||
|
||||
|
||||
testTexture = Texture(Gdx.files.internal("./assets/test_texture.tga"))
|
||||
|
||||
@@ -388,13 +382,6 @@ object Terrarum : Screen {
|
||||
|
||||
|
||||
|
||||
ModMgr // invoke Module Manager
|
||||
|
||||
|
||||
|
||||
printdbg(this, "all modules loaded successfully")
|
||||
|
||||
|
||||
|
||||
// jump straight into the ingame
|
||||
/*val ingame = Ingame(batch)
|
||||
|
||||
Reference in New Issue
Block a user