Class ObjectCollection

java.lang.Object
io.github.jspinak.brobot.database.state.ObjectCollection

public class ObjectCollection
extends java.lang.Object
This class holds all the objects that can be passed to an Action.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ObjectCollection.Builder  
  • Method Summary

    Modifier and Type Method Description
    boolean empty()  
    void resetTimesActedOn()
    Sets the timesActedOn variable to 0 for all objects, including those found in the Matches variable.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • empty

      public boolean empty()
    • resetTimesActedOn

      public void resetTimesActedOn()
      Sets the timesActedOn variable to 0 for all objects, including those found in the Matches variable. Knowing how many times an object Match was acted on is valuable for understanding the actual automation as well as for performing mocks.