Interface PriorityQueueAction


public interface PriorityQueueAction
Interface for classes that can be queued in the action priority queue.
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the next time this PriorityQueueAction should be executed.
    boolean
    Gets whether or not this PriorityQueueAction is a non-model action.
  • Method Details

    • getNextTime

      double getNextTime()
      Gets the next time this PriorityQueueAction should be executed.
      Returns:
      the next time this PriorityQueueAction should be executed.
    • isNonModelAction

      boolean isNonModelAction()
      Gets whether or not this PriorityQueueAction is a non-model action.
      Returns:
      true if this PriorityQueueAction is not a model action, otherwise false.