47 lines
802 B
Java
47 lines
802 B
Java
|
package config;
|
||
|
|
||
|
import manager.STableManager;
|
||
|
import manager.Table;
|
||
|
|
||
|
import java.util.Map;
|
||
|
|
||
|
@Table(name ="DuoDuiTowerHero")
|
||
|
public class SDuoDuiTowerHero implements BaseConfig {
|
||
|
|
||
|
private int id;
|
||
|
|
||
|
private int hero;
|
||
|
|
||
|
private int propertyName;
|
||
|
|
||
|
private int[] heroSkill;
|
||
|
|
||
|
private int[] passiveSkill;
|
||
|
|
||
|
public static Map<Integer,SDuoDuiTowerHero> heroMap;
|
||
|
@Override
|
||
|
public void init() throws Exception {
|
||
|
heroMap = STableManager.getConfig(SDuoDuiTowerHero.class);
|
||
|
}
|
||
|
|
||
|
|
||
|
public int getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public int getHero() {
|
||
|
return hero;
|
||
|
}
|
||
|
|
||
|
public int getPropertyName() {
|
||
|
return propertyName;
|
||
|
}
|
||
|
|
||
|
public int[] getHeroSkill() {
|
||
|
return heroSkill;
|
||
|
}
|
||
|
|
||
|
public int[] getPassiveSkill() {
|
||
|
return passiveSkill;
|
||
|
}
|
||
|
}
|