| Modifier and Type | Method and Description |
|---|---|
Client |
getClient() |
Room |
getRoom() |
void |
handleDrawMessage(DrawMessage msg,
long msgId)
Handles the given DrawMessage by drawing it onto this Room's
image and by broadcasting it to the connected players.
|
void |
removeFromRoom()
Removes this player from its room, e.g.
|
public Room getRoom()
public Client getClient()
public void removeFromRoom()
public void handleDrawMessage(DrawMessage msg, long msgId)
msg - msgId - Copyright © 2015 WSO2 Inc. All rights reserved.