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

[CODE] refactor History class #3392

Open
wants to merge 21 commits into
base: development
Choose a base branch
from

Conversation

rustykitty
Copy link
Contributor

@rustykitty rustykitty commented Jan 30, 2025

About The Pull Request

As requested, refactored History class to use self, with the exception of two methods, add_murders and reveal_murder. I wasn't quite sure which cat's history to make the self in those.

It may not be the best idea to have to call load_history each time we want to do something with cat.history, but I have attempted to minimize the calls.

Why This Is Good For ClanGen

Linked Issues

resolves #2528

Proof of Testing

2025-02-07.06-46-29.mov

Changelog/Credits

@rustykitty rustykitty changed the title refactoring History class [CODE] refactor History class Feb 6, 2025
@rustykitty rustykitty marked this pull request as ready for review February 7, 2025 14:48
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.

[CODE] Refactor History class to use itself correctly
1 participant