66 lines
1.2 KiB
Java
66 lines
1.2 KiB
Java
package config;
|
|
|
|
import manager.STableManager;
|
|
import manager.Table;
|
|
|
|
import java.util.Map;
|
|
|
|
@Table(name = "OptionConfig")
|
|
public class SOptionConfig implements BaseConfig{
|
|
|
|
public static Map<Integer, SOptionConfig> sOptionConfigMap;
|
|
|
|
@Override
|
|
public void init() throws Exception {
|
|
sOptionConfigMap = STableManager.getConfig(SOptionConfig.class);
|
|
}
|
|
|
|
private int id;
|
|
|
|
private int addConditionId;
|
|
|
|
private int behaviorType;
|
|
|
|
private int[][] behaviorTypeValues;
|
|
|
|
private int[] reward;
|
|
|
|
private int jumpType;
|
|
|
|
private int[][] jumpTypeValues;
|
|
|
|
private int addConditionID;
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int getAddConditionId() {
|
|
return addConditionId;
|
|
}
|
|
|
|
public int getBehaviorType() {
|
|
return behaviorType;
|
|
}
|
|
|
|
public int[][] getBehaviorTypeValues() {
|
|
return behaviorTypeValues;
|
|
}
|
|
|
|
public int[] getReward() {
|
|
return reward;
|
|
}
|
|
|
|
public int getJumpType() {
|
|
return jumpType;
|
|
}
|
|
|
|
public int[][] getJumpTypeValues() {
|
|
return jumpTypeValues;
|
|
}
|
|
|
|
public int getAddConditionID() {
|
|
return addConditionID;
|
|
}
|
|
}
|