Class MapConstants

java.lang.Object
com.mg105.utils.MapConstants

public class MapConstants extends Object
Constants used in the map and map generation.
  • Field Details

    • NOCLIP

      public static final boolean NOCLIP
      Whether you can walk through (and over) chests. Note: do not commit this variable being equal to true.
      See Also:
    • ROOM_SIZE

      public static final int ROOM_SIZE
      The width and height of a room in tiles, must be at least 8
      See Also:
    • TILE_SIZE

      public static final int TILE_SIZE
      The size in pixels of a single tile on the screen
      See Also:
    • MAPGEN_MIN_MAP_WIDTH

      public static final int MAPGEN_MIN_MAP_WIDTH
      The minimum possible width of map rooms
      See Also:
    • MAPGEN_MAX_MAP_WIDTH

      public static final int MAPGEN_MAX_MAP_WIDTH
      The maximum possible width of map rooms
      See Also:
    • MAPGEN_MIN_MAP_HEIGHT

      public static final int MAPGEN_MIN_MAP_HEIGHT
      The minimum possible height of map rooms
      See Also:
    • MAPGEN_MAX_MAP_HEIGHT

      public static final int MAPGEN_MAX_MAP_HEIGHT
      The maximum possible height of map rooms
      See Also:
    • MAPGEN_ANCHOR_SPARSITY

      public static final int MAPGEN_ANCHOR_SPARSITY
      An integer between -1 and 100 inclusive that somewhat reflects how crowded rooms will be. Note: -1 represents a filled in grid, 100 represents an empty grid.
      See Also:
    • MAPGEN_BATTLE_SPARSITY

      public static final int MAPGEN_BATTLE_SPARSITY
      An integer between -1 and 100 inclusive that somewhat reflects how many battles will be generated. Note: -1 represents always generate battles and 100 represents never generate battles.
      See Also:
    • MAPGEN_CHEST_SPARSITY

      public static final int MAPGEN_CHEST_SPARSITY
      An integer between -1 and 100 inclusive that somewhat reflects how may chests will be generated. Note: -1 represents always generate battles and 100 represents never generate battles.
      See Also:
    • OPPONENT_HEAL_CAP

      public static final int OPPONENT_HEAL_CAP
      The upper bound on the healing effect of an opponent's friendly move.
      See Also:
    • OPPONENT_BUFF_CAP

      public static final int OPPONENT_BUFF_CAP
      The upper bound on the damage buffing effect of an opponent's friendly move.
      See Also:
    • OPPONENT_DAMAGE_CAP

      public static final int OPPONENT_DAMAGE_CAP
      The upper bound on the damaging effect of an opponent's unfriendly move.
      See Also:
    • OPPONENT_NULLIFY_CAP

      public static final int OPPONENT_NULLIFY_CAP
      The upper bound on the nullifying effect of an opponent's unfriendly move.
      See Also:
    • OPPONENT_HEALTH_MIN

      public static final int OPPONENT_HEALTH_MIN
      The lower bound on the opponent's health stat.
      See Also:
    • OPPONENT_HEALTH_MAX

      public static final int OPPONENT_HEALTH_MAX
      The upper bound on the opponent's health stat.
      See Also:
    • OPPONENT_ATTACK_MIN

      public static final int OPPONENT_ATTACK_MIN
      The lower bound on the opponent's damage stat.
      See Also:
    • OPPONENT_ATTACK_MAX

      public static final int OPPONENT_ATTACK_MAX
      The upper bound on the opponent's damage stat.
      See Also:
    • OPPONENT_SPEED_MIN

      public static final int OPPONENT_SPEED_MIN
      The lower bound on the opponent's speed stat.
      See Also:
    • OPPONENT_SPEED_MAX

      public static final int OPPONENT_SPEED_MAX
      The upper bound on the opponent's speed stat.
      See Also:
  • Constructor Details

    • MapConstants

      public MapConstants()