You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
554 B
22 lines
554 B
package org.poopki.duckdns.user_db.TechTree; |
|
|
|
import org.poopki.duckdns.user_db.UserInfo; |
|
|
|
import java.util.HashMap; |
|
import java.util.Map; |
|
import java.util.UUID; |
|
|
|
public class TechStat { |
|
private Map<String, Integer> m_TechStat = new HashMap<String, Integer>(); |
|
|
|
public void InitTechTree(String A, Integer B){ |
|
m_TechStat.put(A,B); |
|
} |
|
public void SetTechTree(String TechName, Integer set){ |
|
m_TechStat.replace(TechName,set); |
|
} |
|
|
|
public int GetTechTree(String TechName){ |
|
return m_TechStat.get(TechName); |
|
} |
|
}
|
|
|