{"action":"closed","issue":{"number":3,"created_at":"2011-10-11T05:35:12Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Shouldn't it be protected that way we can call it from sub classes?\r\n\r\nThis we can have a method that will use takeDamage in a sub class to take damage.\r\nWhile still protecting the variable from unwanted and un-noticed access.\r\nI would suggest that we don't let other subclass methods effect any stats by making them private because then we can channel all of the setters and geters in the creature class.\r\n\r\nThis will allow for logging of changes or other future applications (if a creature gains health so do you because of a spell). \r\n\r\nNo changes have been made ill wait until people decide. ","comments":5,"title":"takeDamage of the Creature class","updated_at":"2011-10-12T01:22:45Z","url":"https://api.github.com/repos/Kelaos/SUD/issues/3","id":1870929,"assignee":null,"milestone":null,"closed_at":"2011-10-12T01:22:45Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/f5bd82a8044d80eacbd1b7906139548a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/caseyvill","id":1118463,"login":"caseyvill"},"html_url":"https://github.com/Kelaos/SUD/issues/3","labels":[],"state":"closed"},"legacy":{"number":3,"action":"closed","issue":1870929}}