public GameControls(ChessUILogic chessUILogic) { UILogic = chessUILogic; PlayingField = new PlayingField(chessUILogic); RightBar = new RightBar(chessUILogic); CheckmateDialog = new CheckmateDialog(chessUILogic); }
public static void Add(this Control.ControlCollection controls, RightBar RightBar) { controls.Add(RightBar.CurColourLabel); controls.Add(RightBar.CurColourPict); controls.Add(RightBar.PlayerColourLabel); controls.Add(RightBar.PlayerColourPict); controls.Add(RightBar.CheckLabel); }
public void Hide() { PlayingField.Hide(); RightBar.Hide(); CheckmateDialog.Hide(); }
public void Show() { PlayingField.Show(); RightBar.Show(); }