// Path: src/main/java/com/zalthonethree/zombieinfection/client/gui/bookpages/MainPage.java
// public class MainPage extends GuiScreen {
// 	public static final MainPage instance = new MainPage();
// 	
// 	public MainPage() {
// 		super();
// 	}
// 	
// 	@Override public void initGui() {
// 		this.buttonList.add(new BookButton(100, new ItemStack(Items.ROTTEN_FLESH), 100, 200, 100, 50, "The Infection"));
// 	}
// 	
// 	@Override public void drawScreen(int mouseX, int mouseY, float partialTicks) {
// 		GlStateManager.scale(0.5F, 0.5F, 0.5F);
// 		int x = (KnowledgeBook.topLeft[0] * 2) + 8;
// 		int y = (KnowledgeBook.topLeft[1] * 2) + 8;
// 		Minecraft.getMinecraft().fontRenderer.drawString("HALLO THIS IS DOGE :D :D :D", x, y, (new Color(0, 0, 0)).getRGB());
// 		GlStateManager.scale(2F, 2F, 2F);
// 		super.drawScreen(mouseX, mouseY, partialTicks);
// 	}
// }


import com.zalthonethree.zombieinfection.client.gui.bookpages.MainPage;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.ResourceLocation;
package com.zalthonethree.zombieinfection.client.gui;



public class KnowledgeBook extends GuiScreen {
	public static KnowledgeBook instance = new KnowledgeBook();
	private static final ResourceLocation background = new ResourceLocation("zombieinfection", "textures/gui/book.png");
	private GuiScreen currentPage;
	public static int[] topLeft = new int[] {0, 0};
	
	@Override public final void initGui() {
		super.initGui();
		currentPage = MainPage.instance;
		instance = this;
	}
	
	@Override public void drawScreen(int mouseX, int mouseY, float partialTicks) {
		GlStateManager.color(1F, 1F, 1F, 1F);
// Path: src/main/java/com/zalthonethree/zombieinfection/client/gui/bookpages/MainPage.java
// public class MainPage extends GuiScreen {
// 	public static final MainPage instance = new MainPage();
// 	
// 	public MainPage() {
// 		super();
// 	}
// 	
// 	@Override public void initGui() {
// 		this.buttonList.add(new BookButton(100, new ItemStack(Items.ROTTEN_FLESH), 100, 200, 100, 50, "The Infection"));
// 	}
// 	
// 	@Override public void drawScreen(int mouseX, int mouseY, float partialTicks) {
// 		GlStateManager.scale(0.5F, 0.5F, 0.5F);
// 		int x = (KnowledgeBook.topLeft[0] * 2) + 8;
// 		int y = (KnowledgeBook.topLeft[1] * 2) + 8;
// 		Minecraft.getMinecraft().fontRenderer.drawString("HALLO THIS IS DOGE :D :D :D", x, y, (new Color(0, 0, 0)).getRGB());
// 		GlStateManager.scale(2F, 2F, 2F);
// 		super.drawScreen(mouseX, mouseY, partialTicks);
// 	}
// }


// Path: src/main/java/com/zalthonethree/zombieinfection/client/gui/KnowledgeBook.java
import com.zalthonethree.zombieinfection.client.gui.bookpages.MainPage;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.ResourceLocation;

package com.zalthonethree.zombieinfection.client.gui;



public class KnowledgeBook extends GuiScreen {
	public static KnowledgeBook instance = new KnowledgeBook();
	private static final ResourceLocation background = new ResourceLocation("zombieinfection", "textures/gui/book.png");
	private GuiScreen currentPage;
	public static int[] topLeft = new int[] {0, 0};
	
	@Override public final void initGui() {
		super.initGui();
		currentPage = MainPage.instance;
		instance = this;
	}
	
	@Override public void drawScreen(int mouseX, int mouseY, float partialTicks) {
		GlStateManager.color(1F, 1F, 1F, 1F);
		mc.renderEngine.bindTexture(background);