@hYdos STOP CAMELCASING PACKAGES

pull/12/head
Caroline Bell 2020-02-29 03:33:47 -08:00
parent 464511dd95
commit b482b9c4da
3 changed files with 9 additions and 12 deletions

View File

@ -1,7 +1,5 @@
package com.github.halotroop.litecraft;
import java.io.IOException;
import org.joml.*;
import com.github.halotroop.litecraft.save.LitecraftSave;
@ -120,9 +118,8 @@ public class Litecraft extends Game
System.exit(0);
}
private void movePlayer(RelativeDirection direction) {
this.player.move(direction);
}
private void movePlayer(RelativeDirection direction)
{ this.player.move(direction); }
@Override
public void render()
@ -131,13 +128,13 @@ public class Litecraft extends Game
//FPS stuff sorry if i forget to remove whitespace
if (System.currentTimeMillis() > frameTimer + 1000) // wait for one second
{
this.dbgStats.set(fps, ups, tps, this.threadWaitlist);
this.dbgStats.set(fps, ups, tps, threadWaitlist);
this.fps = 0;
this.ups = 0;
this.tps = 0;
this.frameTimer += 1000; // reset the wait time
}
// TODO pls comment this code
// TODO: Document this code!
if (ginger3D.gingerRegister.currentScreen == null) ginger3D.openScreen(new TitleScreen());
this.ginger3D.update(data); // FIXME: This should either be renamed to "render" or moved to tick() if it has nothing to do with rendering.
if (oldWindowHeight != Window.getHeight() || oldWindowWidth != Window.getWidth() && Window.getHeight() > 10 && Window.getWidth() > 10)

View File

@ -1,5 +0,0 @@
package com.github.hydos.ginger.voxelUtils;
public class BlockMesher
{
}

View File

@ -0,0 +1,5 @@
package com.github.hydos.ginger.voxelutils;
public class BlockMesher
{
}