File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -840,6 +840,9 @@ public List<UnitType> getTrainingQueue() {
840
840
841
841
/**
842
842
* Retrieves a unit type from a specific index in the queue of units this unit is training.
843
+ *
844
+ * This method does not have a direct analog in the BWAPI client API.
845
+ * It exists as a more performant alternative to getTrainingQueue().
843
846
*/
844
847
public UnitType getTrainingQueueAt (int i ) {
845
848
if (game .isLatComEnabled () && self ().trainingQueue [i ].valid (game .getFrameCount ())) {
@@ -850,6 +853,9 @@ public UnitType getTrainingQueueAt(int i) {
850
853
851
854
/**
852
855
* Retrieves the number of units in this unit's training queue.
856
+ *
857
+ * This method does not have a direct analog in the BWAPI client API.
858
+ * It exists as a more performant alternative to getTrainingQueue().
853
859
*/
854
860
public int getTrainingQueueCount () {
855
861
int count = unitData .getTrainingQueueCount ();
You can’t perform that action at this time.
0 commit comments