package com.yolp900.itsjustacharm.client.guis.huds;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public abstract class ModHud extends Gui {
public boolean shouldRender;
public ModHud() {
HudHandler.huds.add(this);
}
public void startRendering(EntityPlayer player, World world) {
shouldRender = true;
}
public void stopRendering() {
shouldRender = false;
}
public static abstract class ModTickingHud extends ModHud {
public abstract void tick(ScaledResolution resolution, float partialTicks);
}
}