diff --git a/core/src/gdx/diablo/server/Account.java b/core/src/gdx/diablo/server/Account.java new file mode 100644 index 00000000..fa131f10 --- /dev/null +++ b/core/src/gdx/diablo/server/Account.java @@ -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); + } + } +}