1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package kr.syeyoung.dungeonsguide.features;
public class SimpleFeature extends AbstractFeature {
protected SimpleFeature(String category, String name, String key) {
this(category, name, name, key);
}
protected SimpleFeature(String category, String name, String description, String key) {
this(category, name, description, key, true);
}
protected SimpleFeature(String category, String name, String description, String key, boolean enabled) {
super(category, name, description, key);
this.setEnabled(enabled);
}
}
|