Class Split
java.lang.Object
xyz.stachel.zombiesutils.api.event.Split
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int-1 if started midgamefinal ZombiesInstanceIDnonnull, game unregistered post-event if type.isWinfinal intthe newRound of the last SplitEvent for the same game 0 if type.isStartfinal intthe current round after the split 0 if type.isEndfinal intthe round for which this event was firedfinal intfinal Split.Type -
Constructor Summary
ConstructorsConstructorDescriptionSplit(Split.Type type, int lastTrackedRound, int passedRound, int newRound, int roundTimeSinceSplit, int gameTimeSinceStart, ZombiesInstanceID instanceID) -
Method Summary
-
Field Details
-
type
-
lastTrackedRound
public final int lastTrackedRoundthe newRound of the last SplitEvent for the same game 0 if type.isStart -
passedRound
public final int passedRoundthe round for which this event was fired -
newRound
public final int newRoundthe current round after the split 0 if type.isEnd -
gameTimeSinceStart
public final int gameTimeSinceStart-1 if started midgame -
roundTimeSinceSplit
public final int roundTimeSinceSplit -
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)
-