private void Event_OnSelectFigure(object sender, EventEmitter.FigureEventArgs e)
 {
     NewGame(e.Figure);
     if (playerCurrentTurn.IsRobot())
     {
         StartCoroutine("WaitForRobotMove");
     }
 }
Exemple #2
0
 private void Event_OnSetFigure(object sender, EventEmitter.FigureEventArgs e)
 {
     if (e.Figure == representFigure)
     {
         Activate();
     }
     else
     {
         Deactivate();
     }
 }
Exemple #3
0
 private void Event_OnSetFigure(object sender, EventEmitter.FigureEventArgs e)
 {
     Show();
 }
Exemple #4
0
 private void Event_OnSelectFigure(object sender, EventEmitter.FigureEventArgs e)
 {
     ChangePlayerNames(e.Figure);
     ChangeInfoTitle();
     ShowGameField();
 }