@Override
	public void paintComponent(Graphics g){
		boolean[][] tiles = next.getTiles();
		int count = 0;
		int width = next.getTiles()[0].length == 9 ? 3 : 4; // get width (3 or 4) of piece
		width = next.getTiles()[0].length == 4 ? 2 : width;
		for(int row = 0; row < width; ++row) {
			for(int col = 0; col < width; ++col){
				if(tiles[orientation][count++]){
					Screen.drawSquare(next.getColor(), offset+col*35, offset+row*35, g);
				}
			}
		}
	}