public void tick() {
		ticksleft--;
		
		if (pressedUp)    { pressedUp    = false; currentblock.tryRotate(); }
		if (pressedRight) { pressedRight = false; currentblock.tryMoveRight(); }
		if (pressedLeft)  { pressedLeft  = false; currentblock.tryMoveLeft(); }
		
		if (ticksleft <= 0) { 
			if (currentblock == null) {
				currentblock = new TetrisBlock(this, TetrisBlock.Shape.random());
			}
			ticksleft = tickTime;
			
			if (currentblock.canMoveDown()) {
				currentblock.moveDown();
			} else {
				System.out.println("Solidized");
				currentblock.solidize();
				currentblock = null;
			}
		}
		//Render part
		for (int x=0; x<solidblocks.length; x++) {
			for (int y=0; y<solidblocks[x].length; y++) {
				screen[x][y] = solidblocks[x][y];
			}
		}
		if (currentblock != null) currentblock.render();
		
		updateScreen();
	}