|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlayManager
An interface to be implemented by a PlaceManager that wishes to host
places that have players. This generalizes the idea of a game further than what
is afforded by GameManager, linking it up with AVRGameManager.
| Method Summary | |
|---|---|
com.threerings.crowd.data.BodyObject |
checkWritePermission(com.threerings.presents.data.ClientObject client,
int playerId)
Make sure that the given caller is a player or an agent and can write to the data of the given playerId. |
boolean |
isAgent(com.threerings.presents.data.ClientObject client)
Return true if the given client is a server-side agent in this place. |
boolean |
isPlayer(com.threerings.presents.data.ClientObject client)
Return true if the given client is a player in this place. |
| Method Detail |
|---|
boolean isPlayer(com.threerings.presents.data.ClientObject client)
boolean isAgent(com.threerings.presents.data.ClientObject client)
com.threerings.crowd.data.BodyObject checkWritePermission(com.threerings.presents.data.ClientObject client,
int playerId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||