Implementing
functionality (cont.)
n
Explorer
Queries:
n
public
String name () {
n
return
playerName;
n
}
n
public
rooms.Room location () {
n
return
room;
n
}
n
public int
strength () {
n
return
strengthPoints;
n
}
n
public int
stamina () {
n
return
staminaPoints;
n
}
n