public BoardCardSpace(int spaceIndex, MainWindow mainWindow) { Index = spaceIndex; string buttonName = $"Played_Card_{spaceIndex}"; CardObject = new WPFCardObject(buttonName, mainWindow, false); }
public PlayerCardSpace(int playerId, int cardIndex, MainWindow mainWindow) { Index = cardIndex; string buttonName = $"Player_{playerId}_Card_{cardIndex}"; CardObject = new WPFCardObject(buttonName, mainWindow, true); }