Class ObjectiveEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ObjectiveEvent.Type
      Type of objective events.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectiveEvent​(ObjectiveEvent.Type type, java.lang.Integer objective)
      Creates an event of the given type for the specified objective id.
      ObjectiveEvent​(ObjectiveEvent.Type type, java.lang.Integer objective, long time)
      Creates an event of the given type for the specified objective id at the given time.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ObjectiveEvent

        public ObjectiveEvent​(ObjectiveEvent.Type type,
                              java.lang.Integer objective)
        Creates an event of the given type for the specified objective id.
        Parameters:
        type - the type of the event
        objective - the objective id the event is about
      • ObjectiveEvent

        public ObjectiveEvent​(ObjectiveEvent.Type type,
                              java.lang.Integer objective,
                              long time)
        Creates an event of the given type for the specified objective id at the given time.
        Parameters:
        type - the type of the event
        objective - the objective id the event is about
        time - the time of the event