Kelaos/SUD — Issue #3: takeDamage of the Creature class
Author: caseyvill
Created: 2011-10-11 05:35:12+00:00
State: open

Shouldn't it be protected that way we can call it from sub classes?

This we can have a method that will use takeDamage in a sub class to take damage.
While still protecting the variable from unwanted and un-noticed access.
I would suggest that we don't let other subclass methods effect health or any stats because then we can channel all of the setters in the creature class.

This will allow for logging of changes or other future applications.

No changes have been made ill wait until people decide.