mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Merge branch 'Ticho' of github.com:2OOP/pism_ttt into Ticho
# Conflicts: # src/main/java/org/toop/Main.java # src/main/java/org/toop/eventbus/Events.java # src/main/java/org/toop/game/TTT.java # src/main/resources/log4j2.xml
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
package org.toop.eventbus;
|
||||
|
||||
import org.toop.core.Window;
|
||||
import org.toop.server.backend.tictactoe.TicTacToeServer;
|
||||
import org.toop.server.backend.tictactoe.TicTacToeServerCommand;
|
||||
import org.toop.core.*;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.util.Arrays;
|
||||
@@ -203,7 +202,7 @@ public class Events implements IEvents {
|
||||
* @param args The command arguments.
|
||||
* @param result The result returned from executing the command.
|
||||
*/
|
||||
public record OnCommand(TicTacToeServer command, String[] args, String result) {}
|
||||
public record OnCommand(TicTacToeServer command, String[] args, String result) {} // TODO old
|
||||
|
||||
/**
|
||||
* Triggers when the server client receives a message.
|
||||
@@ -261,6 +260,9 @@ public class Events implements IEvents {
|
||||
* Triggers when a cell is clicked in one of the game boards.
|
||||
*/
|
||||
public record CellClicked(int cell) {}
|
||||
}
|
||||
|
||||
public static class EventBusEvents {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user