Пример #1
0
    public void InitializeTileBuffsTargetBehavior(TileConversionHandler newTargetTile, List <BaseBuffInformationData> buffToAddOnTile, TeamType ownerTeam, TeamType newTargetTeam)
    {
        curSkillOwner = ownerTeam;
        targetTeam    = newTargetTeam;

        targetTile = newTargetTile;

        tileBuffList = new List <BaseBuffInformationData>();
        tileBuffList.AddRange(buffToAddOnTile);
    }
Пример #2
0
    public void InitializeTileUnitsTargetBehavior(TileConversionHandler newTargetTile, BaseSkillInformationData newSkillInformation, TeamType ownerTeam, TeamType newTargetTeam)
    {
        skillInformation = new BaseSkillInformationData();
        skillInformation = newSkillInformation;

        curSkillOwner = ownerTeam;
        targetTeam    = newTargetTeam;

        curTargetType = skillInformation.targetType;
        curTargetStat = skillInformation.targetStats;

        targetTile = newTargetTile;

        myAnim.Play();
    }