public void EndGame() { DisableNudge(); DisableBall(); DisableBumpers(); var reward = _pointsService.CalculateReward(); _gameController.AddMoney((int)reward); _gameController.SaveGamepoints((int)reward); if (_gameController.FirstGamePlayed == false) { _gameController.FirstGamePlayed = true; _gameController.CompletedFirstGame(); } _pointsService.ResetPoints(); }
// -> wallet private void button_AddFundsToWallet_Click(object sender, EventArgs e) { controller.AddMoney(); }