public class GamePausedEvent implements ProtocolMessage
Indicates that the game has been paused.
public GamePausedEvent(@NotNull Player nextPlayer)
Indicates that the game has been paused.
nextPlayer
- the next Player to move after unpausing@NotNull public Player getNextPlayer()
the next Player to move after unpausing
@NotNull public Player component1()
the next Player to move after unpausing
@NotNull public GamePausedEvent copy(@NotNull Player nextPlayer)
Indicates that the game has been paused.
nextPlayer
- the next Player to move after unpausing@NotNull public java.lang.String toString()
Indicates that the game has been paused.
public int hashCode()
Indicates that the game has been paused.
public boolean equals(@Nullable java.lang.Object p)
Indicates that the game has been paused.