当前位置: 首页>>代码示例>>C#>>正文


C# Animal.getTotalLevel方法代码示例

本文整理汇总了C#中Animal.getTotalLevel方法的典型用法代码示例。如果您正苦于以下问题:C# Animal.getTotalLevel方法的具体用法?C# Animal.getTotalLevel怎么用?C# Animal.getTotalLevel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Animal的用法示例。


在下文中一共展示了Animal.getTotalLevel方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AnimalData

    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();
    }
开发者ID:TheAlchemistStudio,项目名称:DnD,代码行数:61,代码来源:AnimalData.cs


注:本文中的Animal.getTotalLevel方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。