Ejemplo n.º 1
0
        private void DB_ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            MonsterDB_Binding temp = (MonsterDB_Binding)DB_ListBox.SelectedItem;

            if (temp != null)
            {
                now_mob.ChangeValue(temp);
            }
        }
Ejemplo n.º 2
0
 public void ChangeValue(MonsterDB_Binding param)
 {
     MobId   = param.MobId;
     Name    = param.Name;
     Level   = param.Level;
     IsBoss  = param.IsBoss;
     Tribe   = param.Tribe;
     Element = param.Element;
     Size    = param.Size;
     Atk     = param.Atk;
     Matk    = param.Matk;
     Hp      = param.Hp;
     Def     = param.Def;
     Mdef    = param.Mdef;
     Hit     = param.Hit;
     Flee    = param.Flee;
 }