Invoking a method: acting as a client (cont.)
nWe now want to change the state of the monster’s stamina.  We use the takehit command to do this. nRecall how to invoke a method: object.command (arguments)
nTherefore:
npublic void strike (denizens.Denizen   monster) {
n monster.takeHit (strengthPoints);
n}