Configure this part of the door to be either the top or the bottom half; @param isTopHalf True to make it the top half.
(boolean isTopHalf)
| 55 | * @param isTopHalf True to make it the top half. |
| 56 | */ |
| 57 | public void setTopHalf(boolean isTopHalf) { |
| 58 | setData((byte) (isTopHalf ? (getData() | 0x8) : (getData() & ~0x8))); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * @return the location of the hinges |