Class SquaremapTown

java.lang.Object
io.github.emcw.squaremap.entities.SquaremapTown
All Implemented Interfaces:
IGsonSerializable

public class SquaremapTown extends Object implements IGsonSerializable
  • Constructor Details

    • SquaremapTown

      public SquaremapTown(SquaremapMarker marker, Set<String> residents, Set<String> councillors)
      Takes a basic parsed marker and parses it further to create a full object representative of a Town on a Squaremap map, with some helper methods attached.
  • Method Details

    • isNationless

      public boolean isNationless()
    • getFoundedTimestamp

      public long getFoundedTimestamp() throws ParseException
      Throws:
      ParseException