Created Account class

This commit is contained in:
Collin Smith 2019-01-21 00:12:09 -08:00
parent e0ed5b2cda
commit ab779a4fce

View File

@ -0,0 +1,28 @@
package gdx.diablo.server;
public class Account {
private String account;
private String password;
private Account() {}
private Account(Builder builder) {
account = builder.account;
password = "";
}
@Override
public String toString() {
return account;
}
public static class Builder {
public String account;
public String hash;
public Account build() {
return new Account(this);
}
}
}