public interface CrowdContext extends PresentsContext
| Modifier and Type | Method and Description |
|---|---|
void |
clearPlaceView(PlaceView view)
When the client leaves a place, the place controller will remove
any place view it set previously via
setPlaceView(com.threerings.crowd.client.PlaceView) with a
call to this method. |
ChatDirector |
getChatDirector()
Provides access to the chat director.
|
LocationDirector |
getLocationDirector()
Returns a reference to the location director.
|
com.threerings.util.MessageManager |
getMessageManager()
Returns a reference to the message manager used by the client to generate localized
messages.
|
OccupantDirector |
getOccupantDirector()
Returns a reference to the occupant director.
|
void |
setPlaceView(PlaceView view)
When the client enters a new place, the location director creates a
place controller which then creates a place view to visualize the
place for the user.
|
getClient, getConfig, getDObjectManagerLocationDirector getLocationDirector()
OccupantDirector getOccupantDirector()
ChatDirector getChatDirector()
com.threerings.util.MessageManager getMessageManager()
void setPlaceView(PlaceView view)
Though the place view is created before we enter the place, it won't be displayed (via a call to this function) until we have fully entered the place and are ready for user interaction.
void clearPlaceView(PlaceView view)
setPlaceView(com.threerings.crowd.client.PlaceView) with a
call to this method.Copyright © 2015. All rights reserved.