-
Notifications
You must be signed in to change notification settings - Fork 285
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
Character code reorganization 27-nov-2022 #2208
Character code reorganization 27-nov-2022 #2208
Conversation
Much cleaner now! That if( roll() >= difficulty ) {
do();
} I'm pretty sure we do have some of the |
Summary
SUMMARY: Infrastructure "Reorganized some Character-related code"
Purpose of change
Dismantling
player
.Describe the solution
See commits.
player
intoCharacter
player
and turn them into namespaced functionscharacter_functions.cpp
as it keeps growingcharacter_turn.h/.cpp
for various process-on-each-turn functionsTesting
Game compiles. No behavior changes intended.
TODO:
Additional context
That's a lot of line changes, may cause lot of merge conflicts. Should I break it up?