-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the usability of working with resource pools and the
Pool
t…
…rait (#35) * Remove Pool::new and friends * Update release notes * Rename Pool::ZERO to Pool::MIN Fixes Rename `ResourcePool::ZERO` to `MIN_LIMIT` #15 * Credit contributor in release notes for unrelated fix * Split Pool trait into Pool + RegeneratingPool * Add is_empty and is_full to Pool trait Fixes #28. * Improve docs for Pool::replenish * Add impls for Add, Sub, AddAssign and SubAssign Fixes #22 * Add / sub impls * Add the Display trait Fixes #21. * Implement Life/Life -> f32 Div trait * Update src/ability_state.rs
- Loading branch information
1 parent
4d5b5c6
commit 79962a1
Showing
6 changed files
with
223 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.