Record game histories. Compute user stats and show them in the user panel.

This commit is contained in:
Me Car 2016-01-20 12:47:58 +09:00
parent 9f3e2aa4c4
commit 550648ccbe
22 changed files with 866 additions and 60 deletions

View file

@ -39,12 +39,14 @@ public class UsersView implements Serializable {
private final String flagName;
private final String userName;
private final String history;
private final String infoState;
private final String infoGames;
private final String infoPing;
public UsersView(String flagName, String userName, String infoState, String infoGames, String infoPing) {
public UsersView(String flagName, String userName, String history, String infoState, String infoGames, String infoPing) {
this.flagName = flagName;
this.history = history;
this.userName = userName;
this.infoState = infoState;
this.infoGames = infoGames;
@ -59,6 +61,10 @@ public class UsersView implements Serializable {
return userName;
}
public String getHistory() {
return history;
}
public String getInfoState() {
return infoState;
}