Esempio n. 1
0
        public bool IsCompletePath()
        {
            int  rowCount   = DataArray.GetLength(0);
            int  colCount   = DataArray.GetLength(1);
            bool isComplete = false;

            Paths.ForEach(item =>
            {
                if (item.X == rowCount - 1 && item.Y == colCount - 1)
                {
                    isComplete = true;
                }
            });
            return(isComplete);
        }
        public Point3D[] GetPositions(int objectIndex, out Rect3D bounds)
        {
            int positionsCount = DataArray.GetLength(0);

            return(GetPositions(0, positionsCount, out bounds));
        }