public class Path extends MapItem
Represents a path in the labyrinth/map.
  • Constructor Details

    • Path

      public Path(Position position)
      Constructor with arguments.
      The value for pathable is true and for sprite is Sprite.PATH.
      Parameters:
      position - Position where the path is.