Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CardPool Improvements #598

Merged
merged 5 commits into from
Oct 19, 2023
Merged

CardPool Improvements #598

merged 5 commits into from
Oct 19, 2023

Conversation

Senryoku
Copy link
Owner

Adds a card count cache to CardPool, mostly.

 - Added helper method 'removeCard' to remove a single copy of a card from the pool.
 - Removed corresponding calls to, now removed, 'removeCardFromCardPool'.
 - Removed now useless 'monocoloredCount' and 'othersCount' from ColorBalancedSlotCache, superseeded by CardPool.count().
 - Fixed previously broken collection test: Default was changed to 'ignoreCollections': false a while back but the tests were simply not working.
@Senryoku Senryoku merged commit a2b134e into master Oct 19, 2023
5 checks passed
@Senryoku Senryoku deleted the ext/CardPoolImprovements branch November 17, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant