fix: properly add new pause events

This commit is contained in:
punchready 2021-05-02 13:24:27 +02:00
parent 3e36947d3e
commit 45ac7d6a62
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package uulm.teamname.marvelous.gamelibrary.events;
/** Specifies the type of an {@link Event}. */
public enum EventType {
// GamestateEvents
// GameStateEvents
Ack,
Nack,
Req,
@ -31,7 +31,7 @@ public enum EventType {
TurnTimeoutEvent,
TimeoutWarningEvent,
TimeoutEvent,
DisconnectEvent,
PauseStartEvent,
PauseStopEvent,
DisconnectEvent,
}

View File

@ -7,7 +7,7 @@ import uulm.teamname.marvelous.gamelibrary.entities.StoneType;
import java.util.Arrays;
import java.util.Objects;
/** Represents a game event for: {@link EventType#RoundSetupEvent}, {@link EventType#TurnEvent}, {@link EventType#WinEvent}, {@link EventType#TurnTimeoutEvent}, {@link EventType#TimeoutWarningEvent}, {@link EventType#TimeoutEvent}, {@link EventType#DisconnectEvent}. */
/** Represents a game event for: {@link EventType#RoundSetupEvent}, {@link EventType#TurnEvent}, {@link EventType#WinEvent}, {@link EventType#TurnTimeoutEvent}, {@link EventType#TimeoutWarningEvent}, {@link EventType#TimeoutEvent}, {@link EventType#PauseStartEvent}, {@link EventType#PauseStopEvent}, {@link EventType#DisconnectEvent}. */
public class GameEvent extends Event {
public Integer roundCount;
public Integer turnCount;