@Override
	public void render(Graphics g)
	{
		g.setColor(new Color(0, 0, 0, 128));
		g.fillRect(0, 0, this.width, this.height);

		g.setColor(new Color(198, 23, 35));
		g.setFont(new Font("SansSerif", Font.BOLD, 50));
		RenderingHelper.drawCenteredString(g, this.width/2, this.height/2 - 100, "Present Delivery");

		g.setColor(new Color(0xffffff));
		g.setFont(new Font("SansSerif", Font.BOLD, 16));
		int textWidth = this.width / 2 - 180;
		g.drawString("Controls:", textWidth - 10, this.height / 2 - 50);

		g.setFont(new Font("SansSerif", Font.BOLD, 20));

		switch (this.page)
		{
			case 0:
				RenderingHelper.drawCenteredString(g, this.width/2, this.height/2 - 20, "Santa can chop down trees");
				RenderingHelper.drawCenteredString(g, this.width / 2, this.height / 2, "to go through the forest!");
				RenderingHelper.fillTexturedRect(g, this.width/2 -64, this.height/2+32, 128, 32, Texture.BUTTON_SPACE);

				g.setColor(new Color(0x000000));
				g.setFont(new Font("SansSerif", Font.BOLD, 16));
				RenderingHelper.drawCenteredString(g, this.width/2, this.height/2 + 48, "Space");
			break;
			case 1:
				g.setFont(new Font("SansSerif", Font.BOLD, 20));
				g.setColor(new Color(0xffffff));
				RenderingHelper.drawCenteredString(g, this.width / 2, this.height / 2 - 20, "Santa can also give presents");
				RenderingHelper.drawCenteredString(g, this.width / 2, this.height / 2, "to children with Space");
				RenderingHelper.fillTexturedRect(g, this.width / 2, this.height / 2 + 20, 64, 64, Texture.ENTITY_PLAYER_GIFT);
				RenderingHelper.fillTexturedRect(g, this.width / 2 + 32, this.height / 2 + 16, 64, 64, Texture.ENTITY_PLAYER[1]);
				
				RenderingHelper.fillTexturedRect(g, this.width/2 -64, this.height/2+16, 64, 64, Texture.ENTITY_CHILDREN[3][3]);
			break;
			case 2:
				g.setFont(new Font("SansSerif", Font.BOLD, 20));
				g.setColor(new Color(0xffffff));
				RenderingHelper.drawCenteredString(g, this.width/2, this.height/2 - 20, "Santa moves with arrows");
				RenderingHelper.drawCenteredString(g, this.width/2, this.height/2, "or WASD");
				RenderingHelper.fillTexturedRect(g, this.width/2 -16, this.height/2+21, 32, 32, Texture.BUTTON_LETTER);

				RenderingHelper.fillTexturedRect(g, this.width/2 -16  + 32 + 5, this.height/2+21 + 32 + 5, 32, 32, Texture.BUTTON_LETTER);
				RenderingHelper.fillTexturedRect(g, this.width/2 -16, this.height/2+21 + 32 + 5, 32, 32, Texture.BUTTON_LETTER);
				RenderingHelper.fillTexturedRect(g, this.width/2 -16  - 32 - 5, this.height/2+21 + 32 + 5, 32, 32, Texture.BUTTON_LETTER);

				g.setColor(new Color(0x000000));
				g.setFont(new Font("SansSerif", Font.BOLD, 16));
				RenderingHelper.drawCenteredString(g, this.width / 2, this.height / 2 + 35, "W");

				RenderingHelper.drawCenteredString(g, this.width / 2 + 32 + 5, this.height / 2 + 35 + 32 + 5, "D");
				RenderingHelper.drawCenteredString(g, this.width / 2, this.height / 2 + 35 + 32 + 5, "S");
				RenderingHelper.drawCenteredString(g, this.width / 2 - 32 - 5, this.height / 2 + 35 + 32 + 5, "A");
			break;
		}
		super.render(g);
	}