v0.7.4b: cleaned up a few leftovers from new init logic
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
|
||||
package com.watabou.noosa;
|
||||
|
||||
import android.opengl.GLSurfaceView;
|
||||
import android.os.SystemClock;
|
||||
|
||||
import com.badlogic.gdx.ApplicationListener;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.watabou.glscripts.Script;
|
||||
@@ -76,9 +73,6 @@ public class Game implements ApplicationListener {
|
||||
public static float elapsed = 0f;
|
||||
public static float timeTotal = 0f;
|
||||
|
||||
protected GLSurfaceView view;
|
||||
//protected SurfaceHolder holder;
|
||||
|
||||
protected static InputHandler inputHandler;
|
||||
|
||||
protected static PlatformSupport platform;
|
||||
@@ -150,7 +144,7 @@ public class Game implements ApplicationListener {
|
||||
Gdx.gl.glFlush();
|
||||
|
||||
SystemTime.tick();
|
||||
long rightNow = SystemClock.elapsedRealtime();
|
||||
long rightNow = SystemTime.now;
|
||||
step = (now == 0 ? 0 : rightNow - now);
|
||||
now = rightNow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user