Пример #1
0
 private void RobotButtonSelect(MenuItemController robotButton, RobotController robotController)
 {
     robotButtonContainer.SetButtons(true);
     ChangeLayer(selectedRobotController, boardLayer);
     robotButton.Select();
     ChangeLayer(robotController, selectedLayer);
     selectedRobotController = robotController;
     robotController.ShowMenuOptions(commandButtonContainer);
     directionButtonContainer.SetButtons(false);
     directionButtonContainer.ClearSprites();
 }