public Character(String fname, Stats fstats, Content.Class_info fcinfo, Class_Type ftype) { stats = fstats; init(fname, fcinfo, ftype); pos = new Point(-1, -1); }
public Character(String fname, Content.Class_info fcinfo, Class_Type ftype) { stats=new Stats(); stats.traits = fcinfo.start; init(fname, fcinfo, ftype); calcStat(); stats.hp = stats.maxHp; stats.mana = stats.maxMana; pos = new Point(-1, -1); }
private void init(String fname, Content.Class_info fcinfo, Class_Type ftype) { type = ftype; name = fname; level = 1; exp = 0; org = ""; cinfo = fcinfo; equipment = new Equipment(); }
public static void instantiate() { if (instance == null) instance = new Content(); }