1.6.2 test - Finished liquids, added connected textures on glass

This commit is contained in:
mDiyo committed 2013-07-26 21:18:53 -07:00
1 parent 40c6f445a2
commit a80fcbce86
704 files changed
+60909

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
package tconstruct.skill;
import java.util.HashMap;
public class SkillRegistry
{
public static HashMap<String, Skill> skills = new HashMap<String, Skill>();
static int skillID = 0;
public static HashMap<Integer, Skill> skillMapping = new HashMap<Integer, Skill>(); //Simplifies network transmission
public static void registerSkill (String name, Skill skill)
{
skills.put(name, skill);
skillMapping.put(getNextAvailableID(), skill);
}
static Integer getNextAvailableID ()
{
return skillID++;
}
}