Example #1
0
    public void LoadToAnimal(Animal ani)
    {
        //animal
        ani.setSpecies(species);

        //entity
        ani.setName(name);
        ani.setLevel1(level1);
        ani.setLevel2(level2);
        ani.setPrestigeLevel(prestigeLevel);
        ani.setTotalLevel(totalLevel);
        ani.setStrength(strength);
        ani.setDexterity(dexterity);
        ani.setConstitution(constitution);
        ani.setIntelligence(intelligence);
        ani.setWisdom(wisdom);
        ani.setCharisma(charisma);
        ani.setInitiativeBonus(initiativeBonus);
        ani.setHostile(hostile);
        ani.setInitSet(initSet);
        ani.setTurn(turn);
        ani.setDone(done);
        ani.setInitiative(initiative);
        ani.setBasicAttackBonus(basicAttackBonus);
        ani.setFortitude(fortitude);
        ani.setReflex(reflex);
        ani.setWill(will);
        ani.setSkill(skill);
        ani.setFeat(feat);
        ani.setSkillPoints(skillPoints);
        ani.setFeatPoints(featPoints);
        ani.setClassSkill(classSkill);
        ani.setLocation(xLocation, yLocation);
        ani.setDirection(xDirection, yDirection);
        ani.setInventory(inventory);
        ani.setStatus(status);

        //attackable
        ani.setCurrentHealth(currentHealth);
        ani.setMaxHealth(maxHealth);
        ani.setArmorClass(armorClass);
        ani.setPrefabName(prefabName);
    }