Added WebChat back to web.
This commit is contained in:
parent
c53e6058be
commit
2bd0052aa9
3 changed files with 17 additions and 0 deletions
|
|
@ -33,6 +33,17 @@ public class Client {
|
|||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
public static class WebChatMessage {
|
||||
public String type = "webchat";
|
||||
public String playerName;
|
||||
public String message;
|
||||
|
||||
public WebChatMessage(String playerName, String message) {
|
||||
this.playerName = playerName;
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Tile {
|
||||
public String type = "tile";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue