This commit is contained in:
Michael Wain 2024-07-13 18:26:54 +03:00
parent 45ae8ed52f
commit 81bcd43047

View File

@ -12,9 +12,9 @@ import java.util.List;
@AllArgsConstructor @AllArgsConstructor
@Getter @Getter
public enum GameState { public enum GameState {
MOVE(Arrays.asList(GameMsgType.DialogConfirmAnswer, GameMsgType.DialogCancelAnswer), true, MoveManager.class), MOVE(Arrays.asList(GameMsgType.DialogConfirmAnswer, GameMsgType.DialogCancelAnswer), true, MoveManager.class);
TRADES(Collections.emptyList(), false, null), /*TRADES(Collections.emptyList(), false, null),
AUCTION(Collections.emptyList(), false, null); AUCTION(Collections.emptyList(), false, null);*/
private final List<GameMsgType> allowedRequests; private final List<GameMsgType> allowedRequests;
private final boolean allowedDialog; private final boolean allowedDialog;