private GameView() { InitializeComponent(); DataContext = new GameViewModel(); }
public GameWindow(GameViewModel gameViewModel) { InitializeComponent(); DataContext = gameViewModel; }