@@ -168,9 +168,9 @@ { this[p.y, p.x] = c; } - Pos[] lambdas() { + Pos[] lambdas() const { Pos[] ans; for(int y=1; y<=H; ++y) for(int x=1; x<=W; ++x) if(this[y,x] == '\\') @@ -177,9 +177,9 @@ ans ~= new Pos(y,x); return ans; } - bool cleared() + bool cleared() const { for(int y=1; y<=H; ++y) for(int x=1; x<=W; ++x) if(this[y,x] == 'L' || this[y,x] == 'O')