You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -952,7 +952,7 @@ public boolean isBuildable(final int tileX, final int tileY) {
952
952
* @param includeBuildings If this is true, then this function will also check if any visible structures are occupying the space. If this value is false, then it only checks the static map data for tile buildability. This value is false by default.
953
953
*
954
954
* @return boolean identifying if the given tile position is buildable (true) or not (false).
955
-
* If \p includeBuildings was provided, then it will return false if a structure is currently
955
+
* If includeBuildings was provided, then it will return false if a structure is currently
@@ -1121,10 +1121,10 @@ public boolean canBuildHere(final TilePosition position, final UnitType type) {
1121
1121
* the tiles' buildability and possible units obstructing the build location.
1122
1122
*
1123
1123
* If the type is an addon and a builer is provided, then the location of the addon will
1124
-
* be placed 4 tiles to the right and 1 tile down from the given \p position. If the builder
1124
+
* be placed 4 tiles to the right and 1 tile down from the given position. If the builder
1125
1125
* is not given, then the check for the addon will be conducted at position.
1126
1126
*
1127
-
* If \p type is UnitType.Special_Start_Location, then the area for a resource depot
1127
+
* If type is UnitType.Special_Start_Location, then the area for a resource depot
1128
1128
* (@Command_Center, @Hatchery, @Nexus) is checked as normal, but any potential obstructions
1129
1129
* (existing structures, creep, units, etc.) are ignored.
1130
1130
*
@@ -1261,10 +1261,10 @@ public boolean canMake(final UnitType type) {
1261
1261
* required units.
1262
1262
*
1263
1263
* @param type The {@link UnitType} to check.
1264
-
* @param builder The Unit that will be used to build/train the provided unit \p type. If this value is null or excluded, then the builder will be excluded in the check.
1264
+
* @param builder The Unit that will be used to build/train the provided unit type. If this value is null or excluded, then the builder will be excluded in the check.
1265
1265
*
1266
-
* @return true indicating that the type can be made. If \p builder is provided, then it is
1267
-
* only true if \p builder can make the \p type. Otherwise it will return false, indicating
1266
+
* @return true indicating that the type can be made. If builder is provided, then it is
1267
+
* only true if builder can make the type. Otherwise it will return false, indicating
@@ -1391,11 +1391,11 @@ public boolean canResearch(final TechType type) {
1391
1391
* required units.
1392
1392
*
1393
1393
* @param type The {@link TechType} to check.
1394
-
* @param unit The {@link Unit} that will be used to research the provided technology \p type. If this value is null or excluded, then the unit will be excluded in the check.
1394
+
* @param unit The {@link Unit} that will be used to research the provided technology type. If this value is null or excluded, then the unit will be excluded in the check.
1395
1395
* @param checkCanIssueCommandType TODO fill this in
1396
1396
*
1397
-
* @return true indicating that the type can be researched. If \p unit is provided, then it is
1398
-
* only true if \p unit can research the \p type. Otherwise it will return false, indicating
1397
+
* @return true indicating that the type can be researched. If unit is provided, then it is
1398
+
* only true if unit can research the type. Otherwise it will return false, indicating
@@ -1456,11 +1456,11 @@ public boolean canUpgrade(final UpgradeType type) {
1456
1456
* required units.
1457
1457
*
1458
1458
* @param type The {@link UpgradeType} to check.
1459
-
* @param unit The {@link Unit} that will be used to upgrade the provided upgrade \p type. If this value is null or excluded, then the unit will be excluded in the check.
1459
+
* @param unit The {@link Unit} that will be used to upgrade the provided upgrade type. If this value is null or excluded, then the unit will be excluded in the check.
1460
1460
* @param checkCanIssueCommandType TODO fill this in
1461
1461
*
1462
-
* @return true indicating that the type can be upgraded. If \p unit is provided, then it is
1463
-
* only true if \p unit can upgrade the \p type. Otherwise it will return false, indicating
1462
+
* @return true indicating that the type can be upgraded. If unit is provided, then it is
1463
+
* only true if unit can upgrade the type. Otherwise it will return false, indicating
@@ -2439,7 +2439,7 @@ public boolean hasPath(final Position source, final Position destination) {
2439
2439
}
2440
2440
2441
2441
publicvoidsetTextSize() {
2442
-
textSize = TextSize.Default;
2442
+
setTextSize(TextSize.Default);
2443
2443
}
2444
2444
2445
2445
/**
@@ -2474,7 +2474,7 @@ public int elapsedTime() {
2474
2474
*
2475
2475
* @param level An integer representation of the aggressiveness for which commands are optimized. A lower level means less optimization, and a higher level means more optimization.
2476
2476
*
2477
-
* The values for \p level are as follows:
2477
+
* The values for level are as follows:
2478
2478
* - 0: No optimization.
2479
2479
* - 1: Some optimization.
2480
2480
* - Is not detected as a hack.
@@ -2627,10 +2627,10 @@ public TilePosition getBuildLocation(final UnitType type, final TilePosition des
2627
2627
*
2628
2628
* @param type A valid UnitType representing the unit type to accomodate space for.
2629
2629
* @param desiredPosition A valid TilePosition containing the desired placement position.
2630
-
* @param maxRange The maximum distance (in tiles) to build from \p desiredPosition.
2630
+
* @param maxRange The maximum distance (in tiles) to build from desiredPosition.
2631
2631
* @param creep A special boolean value that changes the behaviour of @Creep_Colony placement.
2632
2632
*
2633
-
* @return A TilePosition containing the location that the structure should be constructed at. Returns {@link TilePosition#Invalid} If a build location could not be found within \p maxRange.
2633
+
* @return A TilePosition containing the location that the structure should be constructed at. Returns {@link TilePosition#Invalid} If a build location could not be found within maxRange.
@@ -2665,12 +2665,12 @@ public int getDamageFrom(final UnitType fromType, final UnitType toType) {
2665
2665
2666
2666
/**
2667
2667
* Calculates the damage received for a given player. It can be understood
2668
-
* as the damage from \p fromType to \p toType. Does not include shields in calculation.
2668
+
* as the damage from fromType to toType. Does not include shields in calculation.
2669
2669
* Includes upgrades if players are provided.
2670
2670
*
2671
2671
* @param fromType The unit type that will be dealing the damage.
2672
2672
* @param toType The unit type that will be receiving the damage.
2673
-
* @param fromPlayer The player owner of the given type that will be dealing the damage. If omitted, then no player will be used to calculate the upgrades for \p fromType.
2673
+
* @param fromPlayer The player owner of the given type that will be dealing the damage. If omitted, then no player will be used to calculate the upgrades for fromType.
2674
2674
* @param toPlayer The player owner of the type that will be receiving the damage. If omitted, then this parameter will default to {@link #self}.
2675
2675
*
2676
2676
* @return The amount of damage that fromType would deal to toType.
@@ -2690,15 +2690,15 @@ public int getDamageTo(final UnitType toType, final UnitType fromType) {
2690
2690
2691
2691
/**
2692
2692
* Calculates the damage dealt for a given player. It can be understood as
2693
-
* the damage to \p toType from \p fromType. Does not include shields in calculation.
2693
+
* the damage to toType from fromType. Does not include shields in calculation.
2694
2694
* Includes upgrades if players are provided.
2695
2695
*
2696
2696
* This function is nearly the same as {@link #getDamageFrom}. The only difference is that
2697
2697
* the last parameter is intended to default to {@link #self}.
2698
2698
*
2699
2699
* @param toType The unit type that will be receiving the damage.
2700
2700
* @param fromType The unit type that will be dealing the damage.
2701
-
* @param toPlayer The player owner of the type that will be receiving the damage. If omitted, then no player will be used to calculate the upgrades for \p toType.
2701
+
* @param toPlayer The player owner of the type that will be receiving the damage. If omitted, then no player will be used to calculate the upgrades for toType.
2702
2702
* @param fromPlayer The player owner of the given type that will be dealing the damage. If omitted, then this parameter will default to {@link #self}).
2703
2703
*
2704
2704
* @return The amount of damage that fromType would deal to toType.
0 commit comments