
12.6. ROApp clients: LCPlayer Extends RealObject 177
a subclass. The same mechanisms can be used to extend the RemoteObject
interface to a RemotePlayer interface. The interface adds game-player to
the server-object communication. The RemotePlayer implementing class
RemotePlayerClient is private and can therefore not be extended. The
connectivity information is hidden to the actual players.
To activate the players remote interface, the method can be overridden
in two ways:
protected RemoteObject getRemoteObject()
protected RemotePlayer getRemoteObject()
Whatever signature you decide on, the method should definitely be imple-
mented to create the RemotePlayerClient ...