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
All uses of StatExp should be converted to Stats. Both data types are just a set of float fields for HP, Attack, etc. StatExp was mutable with the idea in mind that it would need to be updated after a battle, but was never actually used. If it ever does need to be implemented in the future, it can still be accomplished with the immutable Stats, just overload the + operator. tldr: StatExp: YAGNI
The text was updated successfully, but these errors were encountered:
All uses of StatExp should be converted to Stats. Both data types are just a set of float fields for HP, Attack, etc. StatExp was mutable with the idea in mind that it would need to be updated after a battle, but was never actually used. If it ever does need to be implemented in the future, it can still be accomplished with the immutable Stats, just overload the + operator. tldr: StatExp: YAGNI
The text was updated successfully, but these errors were encountered: