    001package net.minecraft.client.renderer;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005import net.minecraft.util.Icon;
    006
    007@SideOnly(Side.CLIENT)
    008public class IconFlipped implements Icon
    009{
    010    private final Icon field_96454_a;
    011    private final boolean field_96452_b;
    012    private final boolean field_96453_c;
    013
    014    public IconFlipped(Icon par1Icon, boolean par2, boolean par3)
    015    {
    016        this.field_96454_a = par1Icon;
    017        this.field_96452_b = par2;
    018        this.field_96453_c = par3;
    019    }
    020
    021    public int func_94211_a()
    022    {
    023        return this.field_96454_a.func_94211_a();
    024    }
    025
    026    public int func_94216_b()
    027    {
    028        return this.field_96454_a.func_94216_b();
    029    }
    030
    031    public float func_94209_e()
    032    {
    033        return this.field_96452_b ? this.field_96454_a.func_94212_f() : this.field_96454_a.func_94209_e();
    034    }
    035
    036    public float func_94212_f()
    037    {
    038        return this.field_96452_b ? this.field_96454_a.func_94209_e() : this.field_96454_a.func_94212_f();
    039    }
    040
    041    public float func_94214_a(double par1)
    042    {
    043        float f = this.func_94212_f() - this.func_94209_e();
    044        return this.func_94209_e() + f * ((float)par1 / 16.0F);
    045    }
    046
    047    public float func_94206_g()
    048    {
    049        return this.field_96453_c ? this.field_96454_a.func_94206_g() : this.field_96454_a.func_94206_g();
    050    }
    051
    052    public float func_94210_h()
    053    {
    054        return this.field_96453_c ? this.field_96454_a.func_94206_g() : this.field_96454_a.func_94210_h();
    055    }
    056
    057    public float func_94207_b(double par1)
    058    {
    059        float f = this.func_94210_h() - this.func_94206_g();
    060        return this.func_94206_g() + f * ((float)par1 / 16.0F);
    061    }
    062
    063    public String func_94215_i()
    064    {
    065        return this.field_96454_a.func_94215_i();
    066    }
    067
    068    public int func_94213_j()
    069    {
    070        return this.field_96454_a.func_94213_j();
    071    }
    072
    073    public int func_94208_k()
    074    {
    075        return this.field_96454_a.func_94208_k();
    076    }
    077}