/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package transientlibs.bindedobjects.core.datasets;
import transientlibs.bindedobjects.core.Binding;
import transientlibs.bindedobjects.core.loaders.GameCharacterLoader;
import transientlibs.objects.creatures.SkillSet;
import transientlibs.objects.primitives.Int;
/**
*
* @author kibertoad
*/
public class GameCharacter extends LesserBindedValue<GameCharacter> {
public SkillSet skillSet = new SkillSet();
public static LesserBindedValueContainer<GameCharacter> container = new LesserBindedValueContainer<GameCharacter>(Binding.characterBinding);
public static void loadCharacters() {
GameCharacterLoader gcl = new GameCharacterLoader(container);
gcl.loadNpc();
}
public static GameCharacter getByID(int setID) {
return container.getByID(setID);
}
public static GameCharacter getByCode(String setCode) {
return container.getByCode(setCode);
}
;
}