protected SpiralFormationController(Dictionary <ITile, IBuildingNode> nodes, ITile center, int squareSize, IMap map) { this.nodes = nodes; this.map = map; this.maxSize = squareSize; this.Spiral = new Spiral(center.MapLocation); spiralPositions = Spiral.GetSpiralEnumerator(); }
public MapFormationController(IMap map, ITile tile) { this.map = map; spiral = new Spiral(tile.MapLocation).GetSpiralEnumerator(); spiral.MoveNext(); failedTypes = new HashSet <UnitType>(); }