nParameters that are passed in are used in making some calculations.
n
npublic void takeHit (int hitStrength){
n staminaPoints
= staminaPoints - hitStrength;
n}
nautomatic
variable: a variable that is created when a method is invoked, and destroyed when the processor finishes executing the method.
nExample: hitStrength