Interface Layer

All Known Implementing Classes:
AbstractLayer, ArrowLinesLayer, LinesLayer, PointLayer, PointsLayer

public interface Layer
a Layer interface. Each Layer needs to ability to paint itself on the map
  • Method Summary

    Modifier and Type
    Method
    Description
    The bounding box of this Layer
    Gets the name of this Layer
    void
    paint(Graphics g, Tile screenTile)
    Paints the Layer on the given Graphics
  • Method Details

    • paint

      void paint(Graphics g, Tile screenTile)

      Paints the Layer on the given Graphics

      Parameters
      • g: a Graphics Object to paint on

      • screenTile: the screen tile

    • boundingBox

      BoundingBox boundingBox()

      The bounding box of this Layer

      Returns

      the Layer bounding box

    • getName

      String getName()

      Gets the name of this Layer

      Returns

      the name of this Layer