anathema/anathema — pull request #214 by curttasker (2012-05-04 23:20:30+00:00)
Title: Movement speed now takes into account mobility penalty

Fix #197. Movement speeds on the character sheet now take into account a character's mobility penalty. It properly accounts for minimum move/dash speeds (noticeable when wearing heavy armor and wounded).

Removed 6 dead classes.

Mobility Penalty is calculated in the **Character_Equipment_Impl** package, using `CharacterStatsModifier` and passing it a collection of the character's equipment. Querying this directly from the abstract rendering classes caused a circular dependency, so I had to develop an alternate solution.

I altered the abstract rendering classes to add an abstract `getMobilityPenalty()` function. This forces the concrete children to do their own handling of grabbing the mobility penalty for the character.

While I don't actually call the abstract function in the abstract superclass, its entirely possible a future refactor could do so. Currently the function is only called in the concrete subclass.