Class PlayersLayer

All Implemented Interfaces:
JsonSerializable

@NullMarked public class PlayersLayer extends WorldLayer
Manages player markers.
  • Field Details

  • Constructor Details

    • PlayersLayer

      public PlayersLayer(World world)
      Create a new players layer.
      Parameters:
      world - world
    • PlayersLayer

      public PlayersLayer(String key, World world, Supplier<String> labelSupplier)
      Create a new players layer.
      Parameters:
      key - key for layer
      world - world
      labelSupplier - label
  • Method Details