Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Combat Automation
Target version:
Start date:
08/01/2015
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by Damian Small over 10 years ago

  • 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).

Actions

Also available in: Atom PDF