|
@@ -2,7 +2,6 @@ package me.hammerle.snuviengine.game;
|
|
|
|
|
|
import java.io.FileInputStream;
|
|
import java.io.FileInputStream;
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
-import java.util.Random;
|
|
|
|
import me.hammerle.snuviengine.api.Engine;
|
|
import me.hammerle.snuviengine.api.Engine;
|
|
import me.hammerle.snuviengine.api.KeyBinding;
|
|
import me.hammerle.snuviengine.api.KeyBinding;
|
|
import me.hammerle.snuviengine.api.KeyHandler;
|
|
import me.hammerle.snuviengine.api.KeyHandler;
|
|
@@ -59,7 +58,7 @@ public class Game extends Engine
|
|
public void init()
|
|
public void init()
|
|
{
|
|
{
|
|
setNanosPerTick(50_000_000);
|
|
setNanosPerTick(50_000_000);
|
|
- //setMaxFps(120);
|
|
|
|
|
|
+ setMaxFps(120);
|
|
|
|
|
|
//Shader.setAmbientLight(0.5f, 0.5f, 0.5f);
|
|
//Shader.setAmbientLight(0.5f, 0.5f, 0.5f);
|
|
Shader.setLightColor(0, 1f, 0.75f, 0.5f);
|
|
Shader.setLightColor(0, 1f, 0.75f, 0.5f);
|
|
@@ -110,4 +109,9 @@ public class Game extends Engine
|
|
y = Shader.getFontRenderer().drawString(5, y, true, String.valueOf(CLOCK.getTime()));
|
|
y = Shader.getFontRenderer().drawString(5, y, true, String.valueOf(CLOCK.getTime()));
|
|
y = Shader.getFontRenderer().drawString(5, y, true, String.valueOf(CLOCK.getMinTime()));
|
|
y = Shader.getFontRenderer().drawString(5, y, true, String.valueOf(CLOCK.getMinTime()));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void onStop()
|
|
|
|
+ {
|
|
|
|
+ }
|
|
}
|
|
}
|