Aggiunta classifica match + globale. Versione funzionante terminata
This commit is contained in:
parent
f7c9d0ff99
commit
429eb1cb02
40 changed files with 2152 additions and 1108 deletions
|
|
@ -23,6 +23,9 @@ public class Config {
|
|||
public static String NotificationServerName ="notification";
|
||||
|
||||
|
||||
public static int timeoutGame = 15;
|
||||
|
||||
|
||||
public static String getNotificationServerURI(){
|
||||
return "rmi://".concat(NotificationServerURI).concat(":").concat(NotificationServerPort.toString());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
package models;
|
||||
|
||||
/**
|
||||
* Created by loke on 18/06/2017.
|
||||
*/
|
||||
public class Account {
|
||||
public String userName;
|
||||
public String password;
|
||||
|
||||
public Account(String userName, String password){
|
||||
this.userName = userName;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -4,12 +4,19 @@ package models;
|
|||
* Created by loke on 18/06/2017.
|
||||
*/
|
||||
public class User {
|
||||
public String userName;
|
||||
|
||||
public User(String userName){
|
||||
public String userName;
|
||||
public String password;
|
||||
public Integer score = 0;
|
||||
|
||||
public User(String userName, String password){
|
||||
this.userName = userName;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public void addScore(Integer score){
|
||||
this.score += score;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue