Ejemplo n.º 1
0
        private void RemoveAlignment(Plot other)
        {
            var otherPlotPos = other.GetComponent <PlotPosition>();

            otherPlotPos.AvailableAlignments.RemoveAll(t => t.Item1 == Type && t.Item2 == _plot);
        }
Ejemplo n.º 2
0
        private void AddAlignment(Plot other)
        {
            var otherPlotPos = other.GetComponent <PlotPosition>();

            otherPlotPos.AvailableAlignments.Add(Tuple.Create(Type, _plot));
        }