crazedsanity / cs-battletrack

PHP-Based web application for tracking data in traditional paper-and-pencil role playing games.
http://www.crazedsanity.com/projects/cs-battletrack
Other
1 stars 1 forks source link

Object Simplification #37

Closed crazedsanity closed 10 years ago

crazedsanity commented 10 years ago

The main objects should retrieve all the data. They can create lists of other objects (skills, abilities, gear, etc) that hold the data, which can call "save" methods to create/update the records as necessary.

Loading data into a character sheet should be separate, instead of being forced into all classes.

This change is meant to help facilitate unit testing. It should also help avoid future problems and make the code much simpler to work with.

crazedsanity commented 10 years ago

This was merged into master, tagged as v0.9.0