Abstract out damage function to a class that both characters and treehouses can share.