Class Split

java.lang.Object
xyz.stachel.zombiesutils.api.event.Split

public class Split extends Object
  • Field Details

    • type

      public final Split.Type type
    • lastTrackedRound

      public final int lastTrackedRound
      the newRound of the last SplitEvent for the same game 0 if type.isStart
    • passedRound

      public final int passedRound
      the round for which this event was fired
    • newRound

      public final int newRound
      the current round after the split 0 if type.isEnd
    • gameTimeSinceStart

      public final int gameTimeSinceStart
      -1 if started midgame
    • roundTimeSinceSplit

      public final int roundTimeSinceSplit
    • instanceID

      public final ZombiesInstanceID instanceID
      nonnull, game unregistered post-event if type.isWin
  • Constructor Details

    • Split

      public Split(@Nonnull Split.Type type, int lastTrackedRound, int passedRound, int newRound, int roundTimeSinceSplit, int gameTimeSinceStart, @Nonnull ZombiesInstanceID instanceID)