49 lines
917 B
Java
49 lines
917 B
Java
package config;
|
|
|
|
import manager.STableManager;
|
|
import manager.Table;
|
|
|
|
import java.util.Map;
|
|
|
|
@Table(name ="MonsterGroup")
|
|
public class SMonsterGroup implements BaseConfig {
|
|
private static Map<Integer,SMonsterGroup> sMonsterGroupMap;
|
|
private int id;
|
|
|
|
private int[][] contents;
|
|
|
|
private int[] rewardgroup;
|
|
|
|
private String skill;
|
|
|
|
private int[][] animal;
|
|
|
|
@Override
|
|
public void init() throws Exception {
|
|
sMonsterGroupMap = STableManager.getConfig(SMonsterGroup.class);
|
|
}
|
|
|
|
public static Map<Integer, SMonsterGroup> getsMonsterGroupMap() {
|
|
return sMonsterGroupMap;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int[][] getContents() {
|
|
return contents;
|
|
}
|
|
|
|
public int[] getRewardgroup() {
|
|
return rewardgroup;
|
|
}
|
|
|
|
public String getSkill() {
|
|
return skill;
|
|
}
|
|
|
|
public int[][] getAnimal() {
|
|
return animal;
|
|
}
|
|
} |