Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. public void updateGrid() {
  2. grid.setGrid();
  3. for (Shape s: shapes) {
  4. alterShape = activeShape.getShape();
  5. while (i < 0; i < alterShape.length; i++) {
  6. while(j < 0; j < alterShape[i].length; j++) {
  7. grid.setTrue(alterShape.getShape()[i][j].getPosX()/BLOCK_SIZE, activeShape.getShape()[i][j].getPosY()/BLOCK_SIZE);
  8. }
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement