Exemplo n.º 1
0
        public PresetPair Copy()
        {
            PresetPair copy = new PresetPair();

            copy.First  = First;
            copy.Second = Second;

            return(copy);
        }
Exemplo n.º 2
0
 public Companion(string name,
                  int ac,
                  string hitDice,
                  int hp,
                  int currentHP,
                  string speed,
                  int strength,
                  int dexterity,
                  int constitution,
                  int intelligence,
                  int wisdom,
                  int charisma,
                  int perception,
                  string senses,
                  Pair attack,
                  Pair type,
                  Pair atkBonus,
                  Pair damage,
                  PresetPair dmgType,
                  Pair reach,
                  Pair notes)
 {
     Name         = name;
     AC           = ac;
     HitDice      = hitDice;
     HP           = hp;
     CurrentHP    = currentHP;
     Speed        = speed;
     Strength     = strength;
     Dexterity    = dexterity;
     Constitution = constitution;
     Intelligence = intelligence;
     Wisdom       = wisdom;
     Charisma     = charisma;
     Perception   = perception;
     Senses       = senses;
     Attack       = attack.Copy();
     Type         = type.Copy();
     AtkBonus     = atkBonus.Copy();
     Damage       = damage.Copy();
     DmgType      = dmgType.Copy();
     Reach        = reach.Copy();
     Notes        = notes.Copy();
 }
Exemplo n.º 3
0
 public Companion()
 {
     Name         = "";
     AC           = 0;
     HitDice      = "";
     HP           = 0;
     CurrentHP    = 0;
     Speed        = "";
     Strength     = 0;
     Dexterity    = 0;
     Constitution = 0;
     Intelligence = 0;
     Wisdom       = 0;
     Charisma     = 0;
     Perception   = 0;
     Senses       = "";
     Attack       = new Pair();
     Type         = new Pair();
     AtkBonus     = new Pair();
     Damage       = new Pair();
     DmgType      = new PresetPair();
     Reach        = new Pair();
     Notes        = new Pair();
 }