﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class scene_action_b : PLR.Scene
{
  string _bet_size = "";
  public void SetPlayerBetSize(InputField s)
  {
    _bet_size = s.text;
  }
  public void ValidatePlayerBetSize()
  {
    float bet_size = 0;
    bool parsed = float.TryParse(_bet_size, out bet_size);
      hands.CurrentHand.SetActionSize(hands.CurrentHandStage
      , hands.CurrentHandStageNbr
      , parsed?bet_size:0);
  }
   
}
