blob: c4272f236a506521f8855ce25b5f81b6578b4f4b [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.Config
import net.minecraft.client.renderer.texture.IconRegister
class GraphicsCard(val parent: Delegator, val tier: Int) extends Delegate {
val unlocalizedName = "GraphicsCard" + Array("Basic", "Advanced", "Professional").apply(tier)
override def registerIcons(iconRegister: IconRegister) {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Config.resourceDomain + ":gpu" + tier)
}
}