Files
SeedCracker-1.14.4/src/main/java/kaptainwutax/seedcracker/finder/profile/FinderProfile.java
T
2020-02-05 17:34:22 -05:00

29 lines
552 B
Java

package kaptainwutax.seedcracker.finder.profile;
import kaptainwutax.seedcracker.finder.Finder;
import java.util.HashMap;
public abstract class FinderProfile {
public final HashMap<Finder.Type, Boolean> 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;
}
}