I'm kinda stuck to using exceptions and I guess it won't make sense unless I put up a full code of it.
if (IsOverButtonA && ClickedDown) {
gameA += 1;
}
...
Type: Posts; User: thatguywhoprograms
I'm kinda stuck to using exceptions and I guess it won't make sense unless I put up a full code of it.
if (IsOverButtonA && ClickedDown) {
gameA += 1;
}
...
Here I changed it up, I want the exception to work but it seems with the if statement and the booleans within it make it conditional in which I thought making a "new" exception class would make it...
(I want the exception to actually run but it won't, the exception class is no worry it's fine, the exception is if gameA is over 2 or gameB is over 0 it should say what's written in the exception,...