mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Renamed command to SendCommand
This commit is contained in:
@@ -36,11 +36,11 @@ public class Main {
|
||||
String ticTacToeGameId = ticTacToeGame.get();
|
||||
GlobalEventBus.post(new Events.ServerEvents.RunTicTacToeGame(serverId, ticTacToeGameId));
|
||||
|
||||
GlobalEventBus.post(new Events.ServerEvents.Command(
|
||||
GlobalEventBus.post(new Events.ServerEvents.SendCommand(
|
||||
connectionId,
|
||||
"gameid " + ticTacToeGameId, "player J", "MOVE", "0"
|
||||
));
|
||||
GlobalEventBus.post(new Events.ServerEvents.Command(
|
||||
GlobalEventBus.post(new Events.ServerEvents.SendCommand(
|
||||
connectionId,
|
||||
"gameid " + ticTacToeGameId, "player P", "MOVE", "1"
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user