public class MementoEvent implements ProtocolMessage, IPerspectiveProvider
Sent to update the current state and potentially also a new perspective.
public MementoEvent(@NotNull IGameState state, @Nullable java.lang.Object perspective)
Sent to update the current state and potentially also a new perspective.
@Nullable public java.lang.Object getPerspective()
@NotNull public IGameState getState()
@NotNull public IGameState component1()
@NotNull public MementoEvent copy(@NotNull IGameState state, @Nullable java.lang.Object perspective)
Sent to update the current state and potentially also a new perspective.
@NotNull public java.lang.String toString()
Sent to update the current state and potentially also a new perspective.
public int hashCode()
Sent to update the current state and potentially also a new perspective.
public boolean equals(@Nullable java.lang.Object p)
Sent to update the current state and potentially also a new perspective.