public class BodyLocator extends Object
BodyObject instances by name.| Constructor and Description |
|---|
BodyLocator() |
| Modifier and Type | Method and Description |
|---|---|
BodyObject |
forClient(ClientObject client)
Returns the body object to be used for the given client.
|
BodyObject |
lookupBody(Name visibleName)
Returns the body object for the user with the specified visible name, or null if they are
not online.
|
public BodyObject lookupBody(Name visibleName)
public BodyObject forClient(ClientObject client)
BodyObject.getClientObject() and the two should match. The default implementation
assumes they are one and the same. This method should return null if the client is not
currently controlling a body.Copyright © 2015. All rights reserved.