internal void Start(BaseCharacter selectedItem)
 {
     Show();
     character            = selectedItem.Clone();
     textBox1.Text        = character.CharacterName;
     numericUpDown1.Value = character.shapeID;
 }
Ejemplo n.º 2
0
 public EnemyAIInfo(BaseCharacter bc, MapRegion r)
 {
     EnemyChar        = bc.Clone();
     charID           = bc.shapeID;
     EnemyWeapon      = bc.weapon == null ? null : bc.weapon.Clone() as BaseEquipment;
     charWeaponID     = bc.weaponID;
     charArmorID      = bc.armourID;
     EnemyArmor       = bc.armour == null ? null : bc.armour.Clone() as BaseEquipment;
     enemyStats       = bc.statChart.Clone();
     CCCidentifier    = bc.CCCidentifier;
     CCC              = bc.CCC.Clone();
     enemyWeaponArray = new List <int>(bc.enemyWeaponArray);
     enemyArmourArray = new List <int>(bc.enemyArmourArray);
     enemyName        = bc.displayName;
     infoID           = r.highestEnemyID++;
 }