package kaptainwutax.seedcracker.finder.profile; import kaptainwutax.seedcracker.finder.Finder; import java.util.HashMap; public abstract class FinderProfile { public final HashMap typeStates = new HashMap<>(); protected String author; protected boolean locked; public FinderProfile(boolean defaultState) { for(Finder.Type type: Finder.Type.values()) { this.typeStates.put(type, defaultState); } } public String getAuthor() { return this.author; } public boolean getLocked() { return this.locked; } }