Ingame's Player is now mandatory; player spawn on right position

This commit is contained in:
minjaesong
2017-07-18 00:19:55 +09:00
parent 58205e5eb5
commit 33a774b5b7
17 changed files with 224 additions and 71 deletions

View File

@@ -1,7 +1,6 @@
package net.torvald.terrarum
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Screen
import com.badlogic.gdx.ScreenAdapter
import com.badlogic.gdx.graphics.*
import com.badlogic.gdx.graphics.glutils.FrameBuffer
@@ -127,7 +126,7 @@ object LoadScreen : ScreenAdapter() {
// change screen WHEN the timer is reset.
// In other words, the arrow must hit the goal BEFORE context change take place
if (screenToLoad?.gameFullyLoaded ?: false) {
if (screenToLoad?.gameInitialised ?: false) {
doContextChange = true
}
}