Esempio n. 1
0
 /**
  * method that handles clicks on the sidebar of the display
  */
 private bool ClickedOnSideBar(Tuple <bool, Vector2> click)
 {
     ChessPieceType.ClickCommand press = scoreManager.Update(click.Item2);
     if (press == ChessPieceType.ClickCommand.FlipBoard)
     {
         FlipBoard();
     }
     return(false);
 }