Package transientlibs.bindedobjects.core.datasets

Source Code of transientlibs.bindedobjects.core.datasets.GameCharacter

/*
* 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);
    }
;



}
TOP

Related Classes of transientlibs.bindedobjects.core.datasets.GameCharacter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.