Ejemplo n.º 1
0
 public Mob(string pseudo, CharacterRace race, int size, int weight, int hp, Defence defences, int initiative)
 {
     _pseudo     = pseudo ?? throw new ArgumentNullException(nameof(pseudo));
     _race       = race ?? throw new ArgumentNullException(nameof(race));
     _size       = size;
     _weight     = weight;
     _hp         = hp;
     _defences   = defences ?? throw new ArgumentNullException(nameof(defences));
     _initiative = initiative;
 }
Ejemplo n.º 2
0
 public PlayerCharacter(string pseudo, CharacterRace race, int size, int weight, int hp, Defence defences, int initiative, BaseSkills bs, Traits tra, List <CharacterLanguage> lang, List <Partner> part) : base(pseudo, race, size, weight, hp, defences, initiative)
 {
     _baseSkills = bs;
     _traits     = tra;
     _languages  = lang;
     _partners   = part;
 }
Ejemplo n.º 3
0
 public Partner(string pseudo, CharacterRace race, int size, int weight, int hp, Defence defences, int initiative, PlayerCharacter master) : base(pseudo, race, size, weight, hp, defences, initiative)
 {
     _master = master;
 }
Ejemplo n.º 4
0
 public PlayerCharacter(string pseudo, CharacterRace race, int size, int weight, int hp, Defence defences, int initiative, BaseSkills bs, Traits tra) : base(pseudo, race, size, weight, hp, defences, initiative)
 {
     _baseSkills = bs;
     _traits     = tra;
     _languages  = new List <CharacterLanguage>()
     {
         race.NATIVE_LANGUAGE
     };
     _partners = new List <Partner>();
 }