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


C# Action.getSwiftAction方法代码示例

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


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

示例1: CharacterData

    public CharacterData(Character c, Action a)
    {
        //controlled
        scene = c.getScene();
        slot = c.getSlot();
        world = c.getWorld();
        levelUpsAvailable = c.getLevelUpsAvailable();
        experience = c.getExperience();
        hitDie = c.getHitDie();

        //!controlled
        expGive = c.getExpGive();
        friendly = c.getFriendly();
        talk = c.getTalk();

        //character
        race = c.getRace();
        alignment = c.getAlignment();
        affiliation = c.getAffiliation();
        profession = c.getProfession();
        title = c.getTitle();
        characterClass1 = c.getCharacterClass1();
        characterClass2 = c.getCharacterClass2();
        prestigeClass = c.getPrestigeClass();
        controlled = c.getControlled();

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

        //attackable
        currentHealth = c.getCurrentHealth();
        maxHealth = c.getMaxHealth();
        armorClass = c.getArmorClass();
        prefabName = c.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,代码行数:82,代码来源:CharacterData.cs

示例2: 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


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