fix: properly add new pause events
This commit is contained in:
parent
3e36947d3e
commit
45ac7d6a62
@ -2,7 +2,7 @@ package uulm.teamname.marvelous.gamelibrary.events;
|
|||||||
|
|
||||||
/** Specifies the type of an {@link Event}. */
|
/** Specifies the type of an {@link Event}. */
|
||||||
public enum EventType {
|
public enum EventType {
|
||||||
// GamestateEvents
|
// GameStateEvents
|
||||||
Ack,
|
Ack,
|
||||||
Nack,
|
Nack,
|
||||||
Req,
|
Req,
|
||||||
@ -31,7 +31,7 @@ public enum EventType {
|
|||||||
TurnTimeoutEvent,
|
TurnTimeoutEvent,
|
||||||
TimeoutWarningEvent,
|
TimeoutWarningEvent,
|
||||||
TimeoutEvent,
|
TimeoutEvent,
|
||||||
DisconnectEvent,
|
|
||||||
PauseStartEvent,
|
PauseStartEvent,
|
||||||
PauseStopEvent,
|
PauseStopEvent,
|
||||||
|
DisconnectEvent,
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ import uulm.teamname.marvelous.gamelibrary.entities.StoneType;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Objects;
|
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 class GameEvent extends Event {
|
||||||
public Integer roundCount;
|
public Integer roundCount;
|
||||||
public Integer turnCount;
|
public Integer turnCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user