public MainWindow() { InitializeComponent(); hs = new Highscore(highscoretb, currentscoretb, player1score, player2score); ni = new NameInput(UName1Input, UName2Input, UName1Label, UName2Label); grid = new MemoryGrid(GameGrid, NR_OF_COLS, NR_OF_ROWS, hs, ni); }
public MainWindow() { InitializeComponent(); grid = new MemoryGrid(GameGrid, NR_OF_COLS, NR_OF_ROWS); }
public NameInput() { grid = new MemoryGrid(UName1, UName2); }