use of org.asassecreations.engine.texture.Texture in project Voxel_Game by ASasseCreations.
the class GameStateGuis method init.
public static final void init(final TextureProperties properties) {
minimapImage = new GuiImage(-.75f, .55f, 0f, .4f, new Texture(Minimap.texture));
minimapImage.flipYAxis = true;
mouseTexture = TextureLoader.getTexture("/textures/crosshair.png", properties);
mouseImage = new GuiImage(0f, 0f, 0f, .075f, mouseTexture);
pointTexture = TextureLoader.getTexture("/textures/player.png", properties);
pointImage = new GuiImage(0f, 0f, 0f, .1f, pointTexture, minimapImage);
inventory = new GuiImage(0, 0, (float) Inventory.background.getWidth() / (float) Display.getWidth(), (float) Inventory.background.getHeight() / (float) Display.getHeight(), null);
minimapImage.add();
mouseImage.add();
pointImage.add();
inventory.add();
}