Interface SpawnPosition

All Known Implementing Classes:
Government, Nation, Town

public interface SpawnPosition
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Position
    Gets the spawn location of this object.
    void
    spawnPosition(@Nullable Position position)
    Sets the spawn position of this object.
  • Method Details

    • spawnPosition

      void spawnPosition(@Nullable @Nullable Position position)
      Sets the spawn position of this object.
      Parameters:
      position - The position of the new spawn.
    • spawnPosition

      @Nullable @Nullable Position spawnPosition()
      Gets the spawn location of this object.
      Returns:
      The spawn location or null if none has been set.