Start a new game, make P1 raise 10, make P2 call. Make P1 raise $5, P2 has $10 to call now instead of $5.
My controller line of code to get the call amount is as follows:
variables.Add((gameController.getCurrentCall()-player.bettedRound).ToString());
Whenever I raise I call the raise function and input the amount above the call they raised. AKA if the call is $10 and they raised to $15 I would call raise(5) game side
How should I be getting the value of the call for the controller?
Start a new game, make P1 raise 10, make P2 call. Make P1 raise $5, P2 has $10 to call now instead of $5.
My controller line of code to get the call amount is as follows: variables.Add((gameController.getCurrentCall()-player.bettedRound).ToString());
Whenever I raise I call the raise function and input the amount above the call they raised. AKA if the call is $10 and they raised to $15 I would call raise(5) game side
How should I be getting the value of the call for the controller?