    001package net.minecraft.client.gui;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005
    006@SideOnly(Side.CLIENT)
    007public class GuiErrorScreen extends GuiScreen
    008{
    009    /**
    010     * Unused class. Would contain a message drawn to the center of the screen.
    011     */
    012    private String message1;
    013
    014    /**
    015     * Unused class. Would contain a message drawn to the center of the screen.
    016     */
    017    private String message2;
    018
    019    public GuiErrorScreen(){}
    020
    021    /**
    022     * Draws the screen and all the components in it.
    023     */
    024    public void drawScreen(int par1, int par2, float par3)
    025    {
    026        this.drawGradientRect(0, 0, this.width, this.height, -12574688, -11530224);
    027        this.drawCenteredString(this.fontRenderer, this.message1, this.width / 2, 90, 16777215);
    028        this.drawCenteredString(this.fontRenderer, this.message2, this.width / 2, 110, 16777215);
    029        super.drawScreen(par1, par2, par3);
    030    }
    031
    032    /**
    033     * Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
    034     */
    035    protected void keyTyped(char par1, int par2) {}
    036}