예제 #1
0
    private Dictionary <BattalionIdentifier, EffectsBuilder> GetEffectsDictionary()
    {
        Dictionary <BattalionIdentifier, EffectsBuilder> ret = new Dictionary <BattalionIdentifier, EffectsBuilder>();

        List <BattalionState> units = LeftSide.ToList();

        units.AddRange(RightSide);
        foreach (BattalionState unit in units)
        {
            ret.Add(unit.Id, new EffectsBuilder(unit));
        }
        return(ret);
    }