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}. */
|
||||
public enum EventType {
|
||||
// GamestateEvents
|
||||
// GameStateEvents
|
||||
Ack,
|
||||
Nack,
|
||||
Req,
|
||||
@ -31,7 +31,7 @@ public enum EventType {
|
||||
TurnTimeoutEvent,
|
||||
TimeoutWarningEvent,
|
||||
TimeoutEvent,
|
||||
DisconnectEvent,
|
||||
PauseStartEvent,
|
||||
PauseStopEvent,
|
||||
DisconnectEvent,
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user