Interface IndexedBooleanCondition

    • Method Detail

      • getCaseIndex

        int getCaseIndex​(Actor owner,
                         Token token)
        Returns the index of the case that should get executed.
        Parameters:
        owner - the owning actor
        token - the current token passing through the actor
        Returns:
        the index, -1 if not available
      • getDefaultCaseIndex

        int getDefaultCaseIndex​(Actor owner,
                                Token token)
        Returns the index of the default case.
        Parameters:
        owner - the owning actor
        token - the current token passing through the actor
        Returns:
        the index, -1 if not available