Feature #121
closed
Refactor: Move game logic into *.data classes (Actor/etc.)
Added by Damian Small over 10 years ago.
Updated over 10 years ago.
Category:
Combat Automation
Description
Game logic should be consolidated as much as possible. It is currently split in several levels, which makes interface consistency somewhat difficult. Move to the *.data classes (such as Actor) to consolidate and provide the basis for consistent and light-weight interface classes.
- Status changed from New to Closed
- % Done changed from 0 to 100
Seems done (but high chance of something missed). Added new defend class, moved lots of logic into the actor class, also re-factored actor class to have flexible traits. Added GameSettings class in data group to hold game-logic-affecting options. Re-vamped die roller to handle determination of success and failure for crit corner cases (ie: roll of 4 against target of 0 is a success and a critical success).
Also available in: Atom
PDF