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
Copy file name to clipboardExpand all lines: src/main/java/bwapi/Unit.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@
19
19
* becoming invalid).
20
20
* <p>
21
21
* Every Unit in the game is either accessible or inaccessible. To determine if an AI can access
22
-
* a particular unit, BWAPI checks to see if {@link Flag#CompleteMapInformation} is timersEnabled. So there
23
-
* are two cases to consider - either the flag is timersEnabled, or it is disabled:
22
+
* a particular unit, BWAPI checks to see if {@link Flag#CompleteMapInformation} is enabled. So there
23
+
* are two cases to consider - either the flag is enabled, or it is disabled:
24
24
* <p>
25
25
* If {@link Flag#CompleteMapInformation} is disabled, then a unit is accessible if and only if it is visible.
26
26
* <p>
@@ -31,7 +31,7 @@
31
31
* AI must watch for {@link BWEventListener#onUnitDestroy} messages from BWAPI, which is only called for visible units
32
32
* which get destroyed.
33
33
* <p>
34
-
* If {@link Flag#CompleteMapInformation} is timersEnabled, then all units that exist in the game are accessible, and
34
+
* If {@link Flag#CompleteMapInformation} is enabled, then all units that exist in the game are accessible, and
35
35
* {@link Unit#exists} is accurate for all units. Similarly {@link BWEventListener#onUnitDestroy} messages are generated for all
36
36
* units that get destroyed, not just visible ones.
37
37
* <p>
@@ -128,7 +128,7 @@ public boolean exists() {
128
128
/**
129
129
* Retrieves the unit identifier for this unit as seen in replay data.
130
130
* <p>
131
-
* This is only available if {@link Flag#CompleteMapInformation} is timersEnabled.
131
+
* This is only available if {@link Flag#CompleteMapInformation} is enabled.
132
132
*
133
133
* @return An integer containing the replay unit identifier.
134
134
* @see #getID
@@ -1882,7 +1882,7 @@ public boolean isResearching() {
1882
1882
1883
1883
/**
1884
1884
* Checks if this unit has been selected in the user interface. This
1885
-
* function is only available if the flag Flag#UserInput is timersEnabled.
1885
+
* function is only available if the flag Flag#UserInput is enabled.
1886
1886
*
1887
1887
* @return true if this unit is currently selected, and false if this unit is not selected
1888
1888
* @see Game#getSelectedUnits
@@ -2046,7 +2046,7 @@ public boolean isVisible() {
2046
2046
* @param player The player to check visibility for. If this parameter is omitted, then the BWAPI player obtained from {@link Game#self()} will be used.
2047
2047
* @return true if this unit is visible to the specified player, and false if it is not.
2048
2048
* <p>
2049
-
* If the {@link Flag#CompleteMapInformation} flag is timersEnabled, existing units hidden by the
2049
+
* If the {@link Flag#CompleteMapInformation} flag is enabled, existing units hidden by the
2050
2050
* fog of war will be accessible, but isVisible will still return false.
0 commit comments