Added getter for max hit points in entity.