예제 #1
0
    public void LoadLevel(LevelConfig level, int renderX, int renderY)
    {
        if (board == null)
        {
            CreateCells();
        }

        rowRendering     = renderX;
        columnRendering  = renderY;
        realBoardRows    = level.GetRows();
        realBoardColumns = level.GetColumns();
        RenderLevel(level);
    }