Skip to content

Map Screen Registry

Maximilian Dorn edited this page Sep 3, 2022 · 1 revision

Map Screen Registry

Note: This class is part of the plugin module.

The MapScreenRegistry acts as a registry for all created MapScreens. You can use the registry to retrieve MapScreens.

Usage

// Get screen with id 123
MapScreen screen = MapScreenRegistry.getScreen(123);
// Get all screens
Collection<MapScreen> screens = MapScreenRegistry.getScreens();