* one, or null otherwise.
*
* @return the current entity or null if not of the required class
*/
private MutablePaneTargeted getCurrentPaneTargeted() {
MutablePaneTargeted current = null;
if (currentEntity instanceof MutablePaneTargeted) {
current = (MutablePaneTargeted) currentEntity;
}