Mekanism-tilera-Edition/src/main/java/mekanism/common/Upgrade.java

26 lines
387 B
Java
Raw Normal View History

package mekanism.common;
import mekanism.common.util.MekanismUtils;
public enum Upgrade
{
SPEED("speed"),
ENERGY("energy");
private String name;
private Upgrade(String s)
{
name = s;
}
public String getName()
{
return MekanismUtils.localize("upgrade." + name);
}
public String getDescription()
{
return MekanismUtils.localize("upgrade." + name + ".desc");
}
}