Package api

Interface IStatefulComponent

    • Method Detail

      • tick

        void tick()
        Updates the internal state, if any, provided that the component is enabled.
      • setEnabled

        void setEnabled​(boolean enabled)
        Enables or disables updates to the internal state, if any, when processing the tick() operation.
        Parameters:
        enabled - whether or not this component should be enabled
      • clear

        void clear()
        Clears the internal state, if any (sets to all zeros).