registerOnCursorSelectionUpdatedMapSceneObject method

void registerOnCursorSelectionUpdatedMapSceneObject(
  1. CursorSelectionCallback<MapSceneObject>? cursorSelectionMapSceneObjectCallback
)

This is called by the map view when the cursor is over the map scene object

Parameters

  • IN selectedItem the map scene object selected

Implementation

void registerOnCursorSelectionUpdatedMapSceneObject(
  final CursorSelectionCallback<MapSceneObject>?
  cursorSelectionMapSceneObjectCallback,
) {
  _cursorSelectionCallbackMapSceneObject =
      cursorSelectionMapSceneObjectCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onCursorSelectionMapSceneObject',
    cursorSelectionMapSceneObjectCallback == null,
  );
}