public Type getType() {
DebugFacet debugFacet = (DebugFacet) peer.getFacet(DebugFacet.class);
if (debugFacet != null) {
return ObjectAction.DEBUG;
}
ExplorationFacet explorationFacet = (ExplorationFacet) peer.getFacet(ExplorationFacet.class);
if (explorationFacet != null) {
return ObjectAction.EXPLORATION;
}
return ObjectAction.USER;
}