Newer
Older
CactusServer / src / main / java / cactusServer / entities / Account.java
y-ota on 17 May 2018 575 bytes login logoutを追加
package cactusServer.entities;

public class Account {
	private String name, pass;
	private boolean login = false;

	public Account(String userName, String userPass) {
		setName(userName);
		setPass(userPass);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public boolean isLogin() {
		return login;
	}

	public void setLogin(boolean login) {
		this.login = login;
	}
}