Class Map

java.lang.Object
org.vyang.parkourwarrior.Map

public class Map extends Object
Map contating all data of a map.
Since:
1.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The end index, defined for MapManager and TileManager.
    boolean
    This is for Graphics2D to see if the it need to print time next to the map, defined for MapManager and TileManager.
    boolean
    This is the type of map (e.g.
    int
    This is the map number for the program to load the maps, defined for MapManager and TileManager.
    This is the path to maps in the system, defined for MapManager and TileManager.
    int
    This is the type of map, defined for MapManager and TileManager, currently unused.
    int
    The shortest milliseconds used to finish a map, defined for MapManager and TileManager.
    int
    The shortest minutes used to finish a map, defined for MapManager and TileManager.
    int
    The shortest seconds used to finish a map, defined for MapManager and TileManager.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Map()
    The constructor of class Map which is not used.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mapNumber

      public int mapNumber
      This is the map number for the program to load the maps, defined for MapManager and TileManager.
      Since:
      1.5
    • mapPath

      public String mapPath
      This is the path to maps in the system, defined for MapManager and TileManager.
      Since:
      1.5
    • mapType

      public int mapType
      This is the type of map, defined for MapManager and TileManager, currently unused.
      Since:
      1.5
    • isDefaultMap

      public boolean isDefaultMap
      This is the type of map (e.g. default), defined for MapManager and TileManager.
      Since:
      1.5
    • haveFinishedMap

      public boolean haveFinishedMap
      This is for Graphics2D to see if the it need to print time next to the map, defined for MapManager and TileManager.
      Since:
      1.5
    • recordTimeMinutes

      public int recordTimeMinutes
      The shortest minutes used to finish a map, defined for MapManager and TileManager.
      Since:
      1.5
    • recordTimeSeconds

      public int recordTimeSeconds
      The shortest seconds used to finish a map, defined for MapManager and TileManager.
      Since:
      1.5
    • recordTimeMiliseconds

      public int recordTimeMiliseconds
      The shortest milliseconds used to finish a map, defined for MapManager and TileManager.
      Since:
      1.5
    • endIndex

      public int endIndex
      The end index, defined for MapManager and TileManager.
      Since:
      1.5
  • Constructor Details

    • Map

      public Map()
      The constructor of class Map which is not used.
      Since:
      1.5