Game Development Reference
Have a quick look back at the @qjcakjKja[I]j]can class and you'll notice that you still use lh]uan*t
and lh]uan*u in this game. That's because the lh]uan object is inside the @qjcakjKja symbol, which
the @qjcakjKja[I]j]can class is bound to. Figure 8-16 illustrates this.
Figure 8-16. The Player class is written from a first-person perspective,
so it doesn't need the qualifier “player” to refer to its own properties.
The dungeon needs to know which of the many objects it contains you're
refering to, so you need to add the object name in front of the property
The other difference is that all properties and methods of the Lh]uan class are now lner]pa. Here's
the lh]uan class in its entirety: