Class HasElements

    • Field Detail

      • m_MinElements

        protected int m_MinElements
        the number of elements to have at least.
    • Constructor Detail

      • HasElements

        public HasElements()
    • Method Detail

      • setMinElements

        public void setMinElements​(int value)
        Sets the minimum number of elements the array has to have.
        value - the number of elements (0-inf)
      • getMinElements

        public int getMinElements()
        Returns the minimum number of elements the array has to have
        the number of elements (0-inf)
      • minElementsTipText

        public String minElementsTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doEvaluate

        protected boolean doEvaluate​(Actor owner,
                                     Token token)
        Performs the actual evaluation.
        Specified by:
        doEvaluate in class AbstractBooleanCondition
        owner - the owning actor
        token - the current token passing through
        the result of the evaluation