コード例 #1
0
        public void multipleArrayFill(Point point, List <Point> points, IProp prop, Room room, List <PossiblePropPositions> validPropPositions)
        {
            for (var angle = 0; angle < 4; angle += 1)
            {
                var radian = Math.PI / 2 * angle;

                var tempProp = prop.GetRotatedProp(radian);

                Directions.directions.ForEach((dir) => {
                    validPropPositions.Add(arrayFill(point, points, tempProp, dir, room));
                });
            }
        }