void PaintBaseTiles(Brush currentBrush)
    {
        map.BulkEditBegin();

        for (int x = 0; x < mapColumns; x++)
        {
            for (int y = 0; y < mapRows; y++)
            {
                currentBrush.PaintTile(map, x, y);
            }
        }

        map.BulkEditEnd();
    }
Ejemplo n.º 2
0
    protected void PaintBaseTiles()
    {
        map.BulkEditBegin();

        for (int x = 0; x < mapColumns; x++)
        {
            for (int y = 0; y < mapRows; y++)
            {
                brush.PaintTile(map, x, y);
            }
        }

        map.BulkEditEnd();
    }