public class MinigameRoundTickEvent extends MGRoundEvent
round
plugin
Constructor and Description |
---|
MinigameRoundTickEvent(Round round,
int oldTime,
boolean stageChange)
You probably shouldn't call this from your plugin.
|
Modifier and Type | Method and Description |
---|---|
int |
getTimeBefore()
Returns the round time before the tick.
|
boolean |
isStageChange()
Returns whether the tick resulted in a stage change for the round (e.g.
|
getRound
getHandlerList, getHandlers, getPlugin, uninitialize
public MinigameRoundTickEvent(Round round, int oldTime, boolean stageChange)
round
- the round which has tickedoldTime
- the round time before the tick.stageChange
- whether the tick resulted in a stage change (e.g. from
Stage.PREPARING
to Stage.PLAYING
.public int getTimeBefore()
public boolean isStageChange()