示例#1
0
 public MonsterDB(MonsterDB monsterDB)
 {
     _mob_id  = monsterDB.MobId;
     _name    = monsterDB.Name;
     _level   = monsterDB.Level;
     _isBoss  = monsterDB.IsBoss;
     _tribe   = monsterDB.Tribe;
     _element = monsterDB.Element;
     _size    = monsterDB.Size;
     _atk     = monsterDB.Atk;
     _matk    = monsterDB.Matk;
     _hp      = monsterDB.Hp;
     _def     = monsterDB.Def;
     _mdef    = monsterDB.Mdef;
     _hit     = monsterDB.Hit;
     _flee    = monsterDB.Flee;
 }
示例#2
0
文件: DBlist.cs 项目: nahumcn/RooSim
 public void AddMonsterDB(MonsterDB monsterDB)
 {
     _mob_db[monsterDB.MobId] = monsterDB;
 }