You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toString can be changed for enum values whereas name is final and will always work so we should keep track of new enum values (for card color and player types) using myEnumThing.name() instead of myEnumThing.toString()
The text was updated successfully, but these errors were encountered:
toString
can be changed for enum values whereasname
is final and will always work so we should keep track of new enum values (for card color and player types) usingmyEnumThing.name()
instead ofmyEnumThing.toString()
The text was updated successfully, but these errors were encountered: