Exemplo n.º 1
0
    public AnimalData(Animal ani, Action a)
    {
        //animal
        species = ani.getSpecies();

        //entity
        name = ani.getName();
        level1 = ani.getLevel1();
        level2 = ani.getLevel2();
        prestigeLevel = ani.getPrestigeLevel();
        totalLevel = ani.getTotalLevel();
        strength = ani.getStrength();
        dexterity = ani.getDexterity();
        constitution = ani.getConstitution();
        intelligence = ani.getIntelligence();
        wisdom = ani.getWisdom();
        charisma = ani.getCharisma();
        initiativeBonus = ani.getInitiativeBonus();
        hostile = ani.getHostile();
        initSet = ani.getInitSet();
        turn = ani.getTurn();
        done = ani.getDone();
        initiative = ani.getInitiative();
        basicAttackBonus = ani.getBasicAttackBonus();
        fortitude = ani.getFortitude();
        reflex = ani.getReflex();
        will = ani.getWill();
        skill = ani.getSkill();
        feat = ani.getFeat();
        skillPoints = ani.getSkillPoints();
        featPoints = ani.getFeatPoints();
        classSkill = ani.getClassSkill();
        xLocation = ani.getXLocation();
        yLocation = ani.getYLocation();
        xDirection = ani.getXDirection();
        yDirection = ani.getYDirection();
        inventory = ani.getInventory();
        status = ani.getStatus();

        //attackable
        currentHealth = ani.getCurrentHealth();
        maxHealth = ani.getMaxHealth();
        armorClass = ani.getArmorClass();
        prefabName = ani.getPrefabName();

        //action
        standardAction = a.getStandardAction();
        moveAction = a.getMoveAction();
        freeAction = a.getFreeAction();
        swiftAction = a.getSwiftAction();
        immediateAction = a.getImmediateAction();
        aoo = a.getAoo();
        currentSpeed = a.getCurrentSpeed();
        maxSpeed = a.getMaxSpeed();
        moveLock = a.getMoveLock();
        aooProvoked = a.getAooProvoked();
        xEnd = a.getXEnd();
        yEnd = a.getYEnd();
        xDir = a.getXDir();
        yDir = a.getYDir();
    }