Class StorageFlagSet

    • Field Detail

      • m_StorageName

        protected StorageName m_StorageName
        the name of the flag in storage.
    • Constructor Detail

      • StorageFlagSet

        public StorageFlagSet()
        Default constructor.
      • StorageFlagSet

        public StorageFlagSet​(StorageName storageName)
        Initializes with the specified storage name.
        Parameters:
        storageName - the name to use
      • StorageFlagSet

        public StorageFlagSet​(String storageName)
        Initializes with the specified storage name.
        Parameters:
        storageName - the name to use
    • Method Detail

      • setStorageName

        public void setStorageName​(String value)
        Sets the name of the stored value.
        Parameters:
        value - the name
      • setStorageName

        public void setStorageName​(StorageName value)
        Sets the name of the storage flag to evaluate.
        Parameters:
        value - the name
      • getStorageName

        public StorageName getStorageName()
        Returns the name of the storage flag to evaluate.
        Returns:
        the name
      • storageNameTipText

        public String storageNameTipText()
        Returns the tip text for this property.
        Returns:
        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
        Parameters:
        owner - the owning actor
        token - the current token passing through
        Returns:
        the result of the evaluation