Sets the color of an exit direction @param dir @param color
(String dir, Color color)
| 342 | * @param color |
| 343 | */ |
| 344 | public void setPathColor(String dir, Color color){ |
| 345 | if(dir == null){ |
| 346 | throw new NullPointerException(); |
| 347 | } |
| 348 | if(color == null){ |
| 349 | throw new NullPointerException(); |
| 350 | } |
| 351 | |
| 352 | pathColors.put(dir, color); |
| 353 | callListeners(this); |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * Sets the path color |