package org.poopki.duckdns.user_db; import java.util.HashMap; import java.util.Map; import java.util.UUID; public class UserInfo extends Status { private UUID m_UUID; private String m_Name; private static Map m_status = new HashMap(); private int m_Nation; private int m_Squad; private int m_Farm; public UserInfo(UUID uuid, String Name, int Nation, int Squad, int Farm){ //UserInfo 초기화 super(100,100,1,10,10,10,10); m_UUID = uuid; m_Name = Name; m_Nation = Nation; m_Squad = Squad; m_Farm = Farm; } public void JoinNation(int Nation) { m_Nation = Nation; } public void JoinSquad(int Squad) { m_Squad = Squad; } public void JoinFarm(int Farm) { m_Farm = Farm; } public String getUserName(){ return m_Name; } public UUID getUserUUID(){ return m_UUID; } }