[Refactor] Organized imports

pull/12/head
Caroline Bell 2020-02-27 12:28:24 -08:00
parent 541cc3e0e8
commit 583faa58d3
9 changed files with 7 additions and 14 deletions

View File

@ -2,7 +2,7 @@ package com.github.halotroop.litecraft;
import java.util.Random;
import org.joml.*;
import org.joml.Vector4i;
import org.lwjgl.glfw.GLFW;
import com.github.halotroop.litecraft.screens.TitleScreen;

View File

@ -1,14 +1,14 @@
package com.github.halotroop.litecraft.screens;
import java.util.*;
import java.util.ArrayList;
import org.joml.*;
import org.joml.Vector4i;
import com.github.halotroop.litecraft.Litecraft;
import com.github.hydos.ginger.engine.api.*;
import com.github.hydos.ginger.engine.api.Ginger;
import com.github.hydos.ginger.engine.elements.GuiTexture;
import com.github.hydos.ginger.engine.elements.buttons.TextureButton;
import com.github.hydos.ginger.engine.font.*;
import com.github.hydos.ginger.engine.font.GUIText;
import com.github.hydos.ginger.engine.io.Window;
import com.github.hydos.ginger.engine.math.vectors.Vector2f;
import com.github.hydos.ginger.engine.screen.Screen;

View File

@ -1,7 +1,5 @@
package com.github.halotroop.litecraft.types.block;
import java.util.*;
import com.github.halotroop.litecraft.world.Chunk;
import com.github.hydos.ginger.engine.elements.objects.RenderObject;
import com.github.hydos.ginger.engine.math.vectors.Vector3f;

View File

@ -6,7 +6,6 @@ import com.github.halotroop.litecraft.types.block.*;
import com.github.halotroop.litecraft.world.block.*;
import com.github.halotroop.litecraft.world.gen.WorldGenConstants;
import com.github.hydos.ginger.engine.math.vectors.Vector3f;
import com.github.hydos.ginger.engine.render.renderers.ObjectRenderer;
import it.unimi.dsi.fastutil.longs.*;

View File

@ -9,7 +9,6 @@ import com.github.hydos.ginger.engine.elements.objects.Player;
import com.github.hydos.ginger.engine.math.vectors.Vector3f;
import com.github.hydos.ginger.engine.obj.ModelLoader;
import com.github.hydos.ginger.engine.render.models.TexturedModel;
import com.github.hydos.ginger.engine.render.renderers.ObjectRenderer;
import it.unimi.dsi.fastutil.longs.*;

View File

@ -11,7 +11,7 @@ import com.github.hydos.ginger.engine.elements.objects.RenderObject;
import com.github.hydos.ginger.engine.io.Window;
import com.github.hydos.ginger.engine.math.Maths;
import com.github.hydos.ginger.engine.math.matrixes.Matrix4f;
import com.github.hydos.ginger.engine.render.*;
import com.github.hydos.ginger.engine.render.Renderer;
import com.github.hydos.ginger.engine.render.models.*;
import com.github.hydos.ginger.engine.render.shaders.StaticShader;
import com.github.hydos.ginger.engine.render.texture.ModelTexture;

View File

@ -2,8 +2,6 @@ package com.github.halotroop.litecraft.world.gen;
import java.util.*;
import com.github.halotroop.litecraft.world.Chunk;
public abstract class Dimension<T extends ChunkGenerator>
{
public List<WorldModifier> worldModifiers = new ArrayList<>();

View File

@ -2,7 +2,7 @@ package com.github.hydos.ginger.engine.font;
import java.util.*;
import com.github.hydos.ginger.engine.api.*;
import com.github.hydos.ginger.engine.api.Ginger;
import com.github.hydos.ginger.engine.render.renderers.FontRenderer;
import com.github.hydos.ginger.engine.utils.Loader;

View File

@ -6,7 +6,6 @@ import static org.lwjgl.system.MemoryStack.stackPush;
import java.io.IOException;
import java.nio.*;
import org.lwjgl.stb.STBImage;
import org.lwjgl.system.MemoryStack;
import com.github.hydos.ginger.engine.render.tools.IOUtil;