Open Issues Need Help
View All on GitHubAI Summary: This issue proposes a refactoring of the `Resource Stat` class. The `MaxValue` property, currently set via an object initializer, should be moved to the constructor because it's an essential parameter. This change will also simplify initialization by allowing `CurrentValue` to default to `MaxValue` when a new stat is created.
A simple, lightweight library containing generic classes for your game-related statistics (like HP, money, etc.)
AI Summary: This issue proposes adding a `ToString()` method to the `ResourceStat` class to simplify how its values are displayed. The new method would format the output as "CurrentValue/MaxValue", allowing for cleaner string interpolation and improved debugging. This enhancement aims to reduce code duplication and make debugging easier.
A simple, lightweight library containing generic classes for your game-related statistics (like HP, money, etc.)
A simple, lightweight library containing generic classes for your game-related statistics (like HP, money, etc.)