package net.minecraft.client;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.concurrent.Callable;
@SideOnly(Side.CLIENT)
public class CallableUpdatingScreenName implements Callable
{
final Minecraft theMinecraft;
public CallableUpdatingScreenName(Minecraft par1Minecraft)
{
this.theMinecraft = par1Minecraft;
}
public String callUpdatingScreenName()
{
return this.theMinecraft.currentScreen.getClass().getCanonicalName();
}
public Object call()
{
return this.callUpdatingScreenName();
}
}