|
|||||||||
| 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 | |
|---|---|
BodyObject |
checkWritePermission(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(ClientObject client)
Return true if the given client is a server-side agent in this place. |
boolean |
isPlayer(ClientObject client)
Return true if the given client is a player in this place. |
| Method Detail |
|---|
boolean isPlayer(ClientObject client)
boolean isAgent(ClientObject client)
BodyObject checkWritePermission(ClientObject client,
int playerId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||