Пример #1
0
 /**
  * Remove the specified entity. This method should not be used directly. Call the setContainer()
  * method of the entity instead with a null argument. The entity is assumed to be contained by
  * this composite (otherwise, nothing happens). This does not alter the entity in any way. This
  * method is <i>not</i> synchronized on the workspace, so the caller should be. This overrides the
  * base class to first populate the actor, if necessary, by calling populate(). This ensures that
  * the entity being removed now actually exists.
  *
  * @param entity The entity to remove.
  */
 protected void _removeEntity(ComponentEntity entity) {
   populate();
   super._removeEntity(entity);
 }