Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void removeLines(){
- for (int i = 0; i < HEIGHT; i++){
- boolean rowNotFull = false;
- for (int j = 0; j < WIDTH; j++){
- if (!playground[i][j]){
- rowNotFull = true;
- break;
- }
- }
- if (!rowNotFull)
- clearRow(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement