private void UpdateGame(UseableItem playerChoice) { UpdateGameLoader updateGameLoader = new UpdateGameLoader(playerChoice); updateGameLoader.OnLoaded += OnGameUpdated; updateGameLoader.Load(); }
private void UpdateGame(UseableItem playerChoice) { // Restore the game to its initial state _resultLabel.text = "Make your Bet!!"; _playerHand.text = string.Empty; _enemyHand.text = string.Empty; _updateGameLoader.Load(playerChoice, _bet); }