latest LWJGL build
parent
c41523b2fb
commit
97f7d48b64
2
pom.xml
2
pom.xml
|
@ -12,7 +12,7 @@
|
|||
<properties>
|
||||
<maven.compiler.target>1.11</maven.compiler.target>
|
||||
<maven.compiler.source>1.11</maven.compiler.source>
|
||||
<lwjgl.version>3.2.2</lwjgl.version>
|
||||
<lwjgl.version>3.2.3</lwjgl.version>
|
||||
<joml.version>1.9.20</joml.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.github.hydos.ginger.main.settings.Constants;
|
|||
public class Player extends RenderObject
|
||||
{
|
||||
private static float terrainHeight = 0;
|
||||
private float currentSpeed = 0;
|
||||
private double currentSpeed = 0;
|
||||
private float currentTurn = 0;
|
||||
private float upwardsSpeed = 0;
|
||||
private boolean isInAir = false;
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
package com.github.hydos.ginger.engine.screen;
|
||||
|
||||
public abstract class Screen
|
||||
{
|
||||
|
||||
public abstract void render();
|
||||
|
||||
|
||||
}
|
|
@ -6,10 +6,8 @@ public class Constants
|
|||
public static float gravity = 0;
|
||||
public static float jumpPower = 0;
|
||||
public static float turnSpeed = 0;
|
||||
public static float movementSpeed = 0;
|
||||
public static double movementSpeed = 0;
|
||||
//terrain variables
|
||||
public static float terrainSize = 100;
|
||||
public static float terrainMaxHeight = 10;
|
||||
//FPS/UPS
|
||||
public static final double NS = 1000000000 / 60.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue