Connects a place as child, this place will be added to the child as parent @param place
(final Place place)
| 340 | * @param place |
| 341 | */ |
| 342 | public void connectChild(final Place place) { |
| 343 | if (place != null) { |
| 344 | children.add(place); |
| 345 | place.parents.add(this); |
| 346 | callWorldChangeListeners(); |
| 347 | } else { |
| 348 | throw new NullPointerException(); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * Removes a parent - child connection |