Package com.mg105.utils
Class MapConstants
java.lang.Object
com.mg105.utils.MapConstants
Constants used in the map and map generation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn integer between -1 and 100 inclusive that somewhat reflects how crowded rooms will be.static final intAn integer between -1 and 100 inclusive that somewhat reflects how many battles will be generated.static final intAn integer between -1 and 100 inclusive that somewhat reflects how may chests will be generated.static final intThe maximum possible height of map roomsstatic final intThe maximum possible width of map roomsstatic final intThe minimum possible height of map roomsstatic final intThe minimum possible width of map roomsstatic final booleanWhether you can walk through (and over) chests.static final intThe upper bound on the opponent's damage stat.static final intThe lower bound on the opponent's damage stat.static final intThe upper bound on the damage buffing effect of an opponent's friendly move.static final intThe upper bound on the damaging effect of an opponent's unfriendly move.static final intThe upper bound on the healing effect of an opponent's friendly move.static final intThe upper bound on the opponent's health stat.static final intThe lower bound on the opponent's health stat.static final intThe upper bound on the nullifying effect of an opponent's unfriendly move.static final intThe upper bound on the opponent's speed stat.static final intThe lower bound on the opponent's speed stat.static final intThe width and height of a room in tiles, must be at least 8static final intThe size in pixels of a single tile on the screen -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOCLIP
public static final boolean NOCLIPWhether 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_SIZEThe width and height of a room in tiles, must be at least 8- See Also:
-
TILE_SIZE
public static final int TILE_SIZEThe size in pixels of a single tile on the screen- See Also:
-
MAPGEN_MIN_MAP_WIDTH
public static final int MAPGEN_MIN_MAP_WIDTHThe minimum possible width of map rooms- See Also:
-
MAPGEN_MAX_MAP_WIDTH
public static final int MAPGEN_MAX_MAP_WIDTHThe maximum possible width of map rooms- See Also:
-
MAPGEN_MIN_MAP_HEIGHT
public static final int MAPGEN_MIN_MAP_HEIGHTThe minimum possible height of map rooms- See Also:
-
MAPGEN_MAX_MAP_HEIGHT
public static final int MAPGEN_MAX_MAP_HEIGHTThe maximum possible height of map rooms- See Also:
-
MAPGEN_ANCHOR_SPARSITY
public static final int MAPGEN_ANCHOR_SPARSITYAn 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_SPARSITYAn 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_SPARSITYAn 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_CAPThe upper bound on the healing effect of an opponent's friendly move.- See Also:
-
OPPONENT_BUFF_CAP
public static final int OPPONENT_BUFF_CAPThe upper bound on the damage buffing effect of an opponent's friendly move.- See Also:
-
OPPONENT_DAMAGE_CAP
public static final int OPPONENT_DAMAGE_CAPThe upper bound on the damaging effect of an opponent's unfriendly move.- See Also:
-
OPPONENT_NULLIFY_CAP
public static final int OPPONENT_NULLIFY_CAPThe upper bound on the nullifying effect of an opponent's unfriendly move.- See Also:
-
OPPONENT_HEALTH_MIN
public static final int OPPONENT_HEALTH_MINThe lower bound on the opponent's health stat.- See Also:
-
OPPONENT_HEALTH_MAX
public static final int OPPONENT_HEALTH_MAXThe upper bound on the opponent's health stat.- See Also:
-
OPPONENT_ATTACK_MIN
public static final int OPPONENT_ATTACK_MINThe lower bound on the opponent's damage stat.- See Also:
-
OPPONENT_ATTACK_MAX
public static final int OPPONENT_ATTACK_MAXThe upper bound on the opponent's damage stat.- See Also:
-
OPPONENT_SPEED_MIN
public static final int OPPONENT_SPEED_MINThe lower bound on the opponent's speed stat.- See Also:
-
OPPONENT_SPEED_MAX
public static final int OPPONENT_SPEED_MAXThe upper bound on the opponent's speed stat.- See Also:
-
-
Constructor Details
-
MapConstants
public MapConstants()
-