Interface MapTile

  • All Known Implementing Classes:
    BaseMapTile, OutsideMapTile

    public interface MapTile
    Map tile representing a place in the map grid. Its type specifies whether there is a wall at that place in the map.
    • Method Detail

      • getGridPosX

        int getGridPosX()
        Tile x position in the map tile grid
      • getGridPosY

        int getGridPosY()
        Tile y position in the map tile grid
      • getWidth

        int getWidth()
        Width of the tile
      • getHeight

        int getHeight()
        Height of the tile
      • setType

        void setType​(@NotNull
                     @NotNull MapTile.Type type)
        Is true if the type of the tile is wall
      • isWall

        boolean isWall()