(int direction)
| 260 | } |
| 261 | |
| 262 | @Override |
| 263 | public UIWindow scroll(int direction) { |
| 264 | viewportPosition = (int) clip(viewportPosition + direction, 0, getMaxViewportPosition()).doubleValue(); |
| 265 | updateInventory(); |
| 266 | |
| 267 | return this; |
| 268 | } |
| 269 | |
| 270 | @Override |
| 271 | public int getViewportHeight() { |
no test coverage detected