예제 #1
0
 private void SetCurrentPlayer(int newCurrentPlayer)
 {
     currentPlayer     = newCurrentPlayer;
     currentPlayerMove = true;
     OnPlayerChanged?.Invoke(newCurrentPlayer);
     //Debug.Log($"Player {currentPlayer}'s turn");
 }
예제 #2
0
 public void GetPlayerChangedRoom(string login, string room)
 {
     PlayerChangedEvent?.Invoke(login, room);
 }