diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index b1468ea..f27f98c 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -2,6 +2,7 @@ public class Account { private String name, pass; + private boolean login = false; public Account(String userName, String userPass) { setName(userName); @@ -23,4 +24,12 @@ public void setPass(String pass) { this.pass = pass; } + + public boolean isLogin() { + return login; + } + + public void setLogin(boolean login) { + this.login = login; + } }