예제 #1
0
        private void UpdateDrawRecalculateList()
        {
            for (int i = 0; i < cellsCount; i++)
            {
                updateCellX++;
                if (updateCellX >= cellsWidth)
                {
                    updateCellX = 0;
                    updateCellY++;

                    if (updateCellY >= cellsHeight)
                    {
                        updateCellY = 0;
                    }
                }

                MiniMapCell cell = miniMapCellGrid[updateCellX, updateCellY];

                if (cell.IsEmptyCalculateList())
                {
                    break;
                }
                cell.DrawCellRecalculateList();
            }
        }