Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void updateGrid() {
- grid.setGrid();
- for (Shape s: shapes) {
- alterShape = activeShape.getShape();
- while (i < 0; i < alterShape.length; i++) {
- while(j < 0; j < alterShape[i].length; j++) {
- grid.setTrue(alterShape.getShape()[i][j].getPosX()/BLOCK_SIZE, activeShape.getShape()[i][j].getPosY()/BLOCK_SIZE);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement